Update atom packages to atom 1.21. Allow quick-fixes

This commit is contained in:
BoykoAlex
2017-09-25 18:23:46 -04:00
parent 37a84a1449
commit 884d0c8555
6 changed files with 92 additions and 48 deletions

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}
}
}

View File

@@ -19,6 +19,7 @@ public enum ProblemSeverity {
IGNORE,
INFO,
WARNING,
HINT,
ERROR;
}

View File

@@ -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: