Merge branch 'master' of github.com:spring-projects/sts4
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"icon": "icon.png",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"atom": ">=1.17.0"
|
||||
"atom": ">=1.21.0"
|
||||
},
|
||||
"files": [
|
||||
"lib/",
|
||||
@@ -17,7 +17,7 @@
|
||||
"dependencies": {
|
||||
"atom-package-deps": "^4.6.0",
|
||||
"download": "^6.2.5",
|
||||
"pivotal-atom-languageclient-commons": "0.0.8"
|
||||
"pivotal-atom-languageclient-commons": "0.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffeelint": "^1.10.1"
|
||||
@@ -35,9 +35,9 @@
|
||||
"2.0.0": "consumeLinterV2"
|
||||
}
|
||||
},
|
||||
"nuclide-datatip.provider": {
|
||||
"datatip": {
|
||||
"versions": {
|
||||
"0.0.0": "consumeDatatip"
|
||||
"0.1.0": "consumeDatatip"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -47,24 +47,34 @@
|
||||
"2.0.0": "provideAutocomplete"
|
||||
}
|
||||
},
|
||||
"nuclide-code-format.provider": {
|
||||
"code-actions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideCodeFormat"
|
||||
"0.1.0": "provideCodeActions"
|
||||
}
|
||||
},
|
||||
"nuclide-definition-provider": {
|
||||
"code-format.range": {
|
||||
"versions": {
|
||||
"0.0.0": "provideDefinitions"
|
||||
"0.1.0": "provideCodeFormat"
|
||||
}
|
||||
},
|
||||
"nuclide-find-references.provider": {
|
||||
"code-highlight": {
|
||||
"versions": {
|
||||
"0.0.0": "provideFindReferences"
|
||||
"0.1.0": "provideCodeHighlight"
|
||||
}
|
||||
},
|
||||
"nuclide-outline-view": {
|
||||
"definitions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideOutlines"
|
||||
"0.1.0": "provideDefinitions"
|
||||
}
|
||||
},
|
||||
"find-references": {
|
||||
"versions": {
|
||||
"0.1.0": "provideFindReferences"
|
||||
}
|
||||
},
|
||||
"outline-view": {
|
||||
"versions": {
|
||||
"0.1.0": "provideOutlines"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"icon": "icon.png",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"atom": ">=1.17.0"
|
||||
"atom": ">=1.21.0"
|
||||
},
|
||||
"files": [
|
||||
"grammars/",
|
||||
@@ -19,7 +19,7 @@
|
||||
"dependencies": {
|
||||
"atom-package-deps": "^4.6.0",
|
||||
"download": "^6.2.5",
|
||||
"pivotal-atom-languageclient-commons": "0.0.8"
|
||||
"pivotal-atom-languageclient-commons": "0.0.10"
|
||||
},
|
||||
"configSchema": {
|
||||
"bosh": {
|
||||
@@ -66,9 +66,9 @@
|
||||
"2.0.0": "consumeLinterV2"
|
||||
}
|
||||
},
|
||||
"nuclide-datatip.provider": {
|
||||
"datatip": {
|
||||
"versions": {
|
||||
"0.0.0": "consumeDatatip"
|
||||
"0.1.0": "consumeDatatip"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -78,24 +78,34 @@
|
||||
"2.0.0": "provideAutocomplete"
|
||||
}
|
||||
},
|
||||
"nuclide-code-format.provider": {
|
||||
"code-actions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideCodeFormat"
|
||||
"0.1.0": "provideCodeActions"
|
||||
}
|
||||
},
|
||||
"nuclide-definition-provider": {
|
||||
"code-format.range": {
|
||||
"versions": {
|
||||
"0.0.0": "provideDefinitions"
|
||||
"0.1.0": "provideCodeFormat"
|
||||
}
|
||||
},
|
||||
"nuclide-find-references.provider": {
|
||||
"code-highlight": {
|
||||
"versions": {
|
||||
"0.0.0": "provideFindReferences"
|
||||
"0.1.0": "provideCodeHighlight"
|
||||
}
|
||||
},
|
||||
"nuclide-outline-view": {
|
||||
"definitions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideOutlines"
|
||||
"0.1.0": "provideDefinitions"
|
||||
}
|
||||
},
|
||||
"find-references": {
|
||||
"versions": {
|
||||
"0.1.0": "provideFindReferences"
|
||||
}
|
||||
},
|
||||
"outline-view": {
|
||||
"versions": {
|
||||
"0.1.0": "provideOutlines"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"icon": "icon.png",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"atom": ">=1.17.0"
|
||||
"atom": ">=1.21.0"
|
||||
},
|
||||
"files": [
|
||||
"grammars/",
|
||||
@@ -19,7 +19,7 @@
|
||||
"dependencies": {
|
||||
"atom-package-deps": "^4.6.0",
|
||||
"download": "^6.2.5",
|
||||
"pivotal-atom-languageclient-commons": "0.0.8"
|
||||
"pivotal-atom-languageclient-commons": "0.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffeelint": "^1.10.1"
|
||||
@@ -37,9 +37,9 @@
|
||||
"2.0.0": "consumeLinterV2"
|
||||
}
|
||||
},
|
||||
"nuclide-datatip.provider": {
|
||||
"datatip": {
|
||||
"versions": {
|
||||
"0.0.0": "consumeDatatip"
|
||||
"0.1.0": "consumeDatatip"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -49,24 +49,34 @@
|
||||
"2.0.0": "provideAutocomplete"
|
||||
}
|
||||
},
|
||||
"nuclide-code-format.provider": {
|
||||
"code-actions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideCodeFormat"
|
||||
"0.1.0": "provideCodeActions"
|
||||
}
|
||||
},
|
||||
"nuclide-definition-provider": {
|
||||
"code-format.range": {
|
||||
"versions": {
|
||||
"0.0.0": "provideDefinitions"
|
||||
"0.1.0": "provideCodeFormat"
|
||||
}
|
||||
},
|
||||
"nuclide-find-references.provider": {
|
||||
"code-highlight": {
|
||||
"versions": {
|
||||
"0.0.0": "provideFindReferences"
|
||||
"0.1.0": "provideCodeHighlight"
|
||||
}
|
||||
},
|
||||
"nuclide-outline-view": {
|
||||
"definitions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideOutlines"
|
||||
"0.1.0": "provideDefinitions"
|
||||
}
|
||||
},
|
||||
"find-references": {
|
||||
"versions": {
|
||||
"0.1.0": "provideFindReferences"
|
||||
}
|
||||
},
|
||||
"outline-view": {
|
||||
"versions": {
|
||||
"0.1.0": "provideOutlines"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,17 @@ export class JarLanguageClient extends AutoLanguageClient {
|
||||
this.serverLauncherJar = serverLauncherJar;
|
||||
}
|
||||
|
||||
getInitializeParams(projectPath, process) {
|
||||
const initParams = super.getInitializeParams(projectPath, process);
|
||||
initParams.capabilities = {
|
||||
workspace: {
|
||||
executeCommand: {
|
||||
}
|
||||
}
|
||||
};
|
||||
return initParams;
|
||||
}
|
||||
|
||||
startServerProcess () {
|
||||
// //TODO: Remove when debugging is over
|
||||
atom.config.set('core.debugLSP', true);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pivotal-atom-languageclient-commons",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.10",
|
||||
"description": "Atom language client commons for STS4 language servers",
|
||||
"repository": "https://github.com/spring-projects/sts4",
|
||||
"license": "MIT",
|
||||
@@ -8,7 +8,7 @@
|
||||
"atom": ">=1.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"atom-languageclient": "0.6.2",
|
||||
"atom-languageclient": "0.6.4",
|
||||
"decompress": "^4.2.0",
|
||||
"portfinder": "^1.0.13",
|
||||
"remote-file-size": "^3.0.3",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"icon": "icon.png",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"atom": ">=1.17.0"
|
||||
"atom": ">=1.21.0"
|
||||
},
|
||||
"files": [
|
||||
"grammars/",
|
||||
@@ -19,7 +19,7 @@
|
||||
"dependencies": {
|
||||
"atom-package-deps": "^4.6.0",
|
||||
"download": "^6.2.5",
|
||||
"pivotal-atom-languageclient-commons": "0.0.8"
|
||||
"pivotal-atom-languageclient-commons": "0.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffeelint": "^1.10.1"
|
||||
@@ -37,9 +37,9 @@
|
||||
"2.0.0": "consumeLinterV2"
|
||||
}
|
||||
},
|
||||
"nuclide-datatip.provider": {
|
||||
"datatip": {
|
||||
"versions": {
|
||||
"0.0.0": "consumeDatatip"
|
||||
"0.1.0": "consumeDatatip"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -49,25 +49,36 @@
|
||||
"2.0.0": "provideAutocomplete"
|
||||
}
|
||||
},
|
||||
"nuclide-code-format.provider": {
|
||||
"code-actions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideCodeFormat"
|
||||
"0.1.0": "provideCodeActions"
|
||||
}
|
||||
},
|
||||
"nuclide-definition-provider": {
|
||||
"code-format.range": {
|
||||
"versions": {
|
||||
"0.0.0": "provideDefinitions"
|
||||
"0.1.0": "provideCodeFormat"
|
||||
}
|
||||
},
|
||||
"nuclide-find-references.provider": {
|
||||
"code-highlight": {
|
||||
"versions": {
|
||||
"0.0.0": "provideFindReferences"
|
||||
"0.1.0": "provideCodeHighlight"
|
||||
}
|
||||
},
|
||||
"nuclide-outline-view": {
|
||||
"definitions": {
|
||||
"versions": {
|
||||
"0.0.0": "provideOutlines"
|
||||
"0.1.0": "provideDefinitions"
|
||||
}
|
||||
},
|
||||
"find-references": {
|
||||
"versions": {
|
||||
"0.1.0": "provideFindReferences"
|
||||
}
|
||||
},
|
||||
"outline-view": {
|
||||
"versions": {
|
||||
"0.1.0": "provideOutlines"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<?eclipse version="3.2"?>
|
||||
<plugin>
|
||||
|
||||
<extension id="org.springframework.boot.ide" point="org.eclipse.core.runtime.products">
|
||||
<extension id="sts4" point="org.eclipse.core.runtime.products">
|
||||
<product name="%productName" application="org.eclipse.ui.ide.workbench" description="%productBlurb">
|
||||
<property name="windowImages" value="sts16.png,sts32.png,sts48.png,sts64.png,sts128.png"/>
|
||||
<property name="aboutImage" value="sts_lg.gif"/>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?pde version="3.5"?>
|
||||
<product name="Spring Tool Suite 4" id="org.springframework.boot.ide" uid="org.springframework.boot.ide" application="org.eclipse.ui.ide.workbench" version="4.0.0.qualifier" useFeatures="true" includeLaunchers="true">
|
||||
<product name="Spring Tool Suite 4" id="org.springframework.boot.ide.branding.sts4" uid="org.springframework.boot.ide.branding.sts4" application="org.eclipse.ui.ide.workbench" version="4.0.0.qualifier" useFeatures="true" includeLaunchers="true">
|
||||
|
||||
<configIni use="default">
|
||||
</configIni>
|
||||
|
||||
<launcherArgs>
|
||||
<programArgs>-product org.springframework.boot.ide
|
||||
<programArgs>-product org.springframework.boot.ide.branding.sts4
|
||||
--launcher.defaultAction
|
||||
openFile</programArgs>
|
||||
<vmArgs>-Dosgi.requiredJavaVersion=1.8
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<configuration>
|
||||
<products>
|
||||
<product>
|
||||
<id>org.springframework.boot.ide</id>
|
||||
<id>org.springframework.boot.ide.branding.sts4</id>
|
||||
<rootFolder>sts-${unqualifiedVersion}.${p2.qualifier}</rootFolder>
|
||||
<rootFolders>
|
||||
<macosx>SpringToolSuite4.app</macosx>
|
||||
@@ -110,7 +110,7 @@
|
||||
<arg value="${env.KEYCHAIN}"/>
|
||||
<arg value="-s"/>
|
||||
<arg value="Developer ID Application: Trevor Marshall"/>
|
||||
<arg value="${project.build.directory}/products/org.springframework.boot.ide/macosx/cocoa/x86_64/SpringToolSuite4.app"/>
|
||||
<arg value="${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/macosx/cocoa/x86_64/SpringToolSuite4.app"/>
|
||||
</exec>
|
||||
|
||||
</target>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"title": "Spring Tool Suite 4",
|
||||
"icon": "../org.springframework.boot.ide.branding/sts.icns",
|
||||
"contents": [
|
||||
{ "x": 192, "y": 100, "type": "file", "path": "target/products/org.springframework.boot.ide/macosx/cocoa/x86_64/SpringToolSuite4.app" },
|
||||
{ "x": 192, "y": 100, "type": "file", "path": "target/products/org.springframework.boot.ide.branding.sts4/macosx/cocoa/x86_64/SpringToolSuite4.app" },
|
||||
{ "x": 448, "y": 100, "type": "link", "path": "/Applications" },
|
||||
{ "x": 1000, "y": 2000, "type": "file", "path": "../org.springframework.boot.ide.branding/sts.icns", "name": ".VolumeIcon.icns" }
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site pack200="true">
|
||||
<description url="http://www.springsource.com/products/sts">
|
||||
The Spring Boot Tool Suite description
|
||||
<description url="http://spring.io/tools">
|
||||
Spring Tool Suite 4
|
||||
</description>
|
||||
|
||||
<!-- Eclipse Integration Commons -->
|
||||
@@ -43,36 +43,36 @@
|
||||
</feature>
|
||||
|
||||
<!-- Language Server -->
|
||||
<category-def name="Spring Boot IDE Language Servers for Eclipse" label="Spring Boot IDE Language Servers for Eclipse"/>
|
||||
<category-def name="Spring Tool Suite 4 Language Server Integrations for Eclipse" label="Spring Tool Suite 4 Language Server Integrations for Eclipse"/>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.cloudfoundry.manifest.ls.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.cloudfoundry.manifest.ls.integration.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.properties.ls.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.boot.java.ls.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.bosh.ls.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.concourse.ls.feature" version="0.0.0">
|
||||
<category name="Spring Boot IDE Language Servers for Eclipse" />
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
</site>
|
||||
|
||||
@@ -19,6 +19,7 @@ public enum ProblemSeverity {
|
||||
IGNORE,
|
||||
INFO,
|
||||
WARNING,
|
||||
HINT,
|
||||
ERROR;
|
||||
|
||||
}
|
||||
|
||||
@@ -428,6 +428,8 @@ public abstract class SimpleLanguageServer implements LanguageServer, LanguageCl
|
||||
return DiagnosticSeverity.Warning;
|
||||
case INFO:
|
||||
return DiagnosticSeverity.Information;
|
||||
case HINT:
|
||||
return DiagnosticSeverity.Hint;
|
||||
case IGNORE:
|
||||
return null;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user