mirror of https://github.com/sbt/sbt.git
Merge pull request #3600 from eed3si9n/wip/scala_syntax
Add Scala syntax from daltonjorge/vscode-scala
This commit is contained in:
commit
dd9b2b2f3a
Binary file not shown.
|
Before Width: | Height: | Size: 6.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
|
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"comments": {
|
||||||
|
// symbol used for single line comment. Remove this entry if your language does not support line comments
|
||||||
|
"lineComment": "//",
|
||||||
|
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
||||||
|
"blockComment": [ "/*", "*/" ]
|
||||||
|
},
|
||||||
|
// symbols used as brackets
|
||||||
|
"brackets": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"]
|
||||||
|
],
|
||||||
|
// symbols that are auto closed when typing
|
||||||
|
"autoClosingPairs": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"],
|
||||||
|
["\"", "\""],
|
||||||
|
["'", "'"]
|
||||||
|
],
|
||||||
|
// symbols that that can be used to surround a selection
|
||||||
|
"surroundingPairs": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"],
|
||||||
|
["\"", "\""],
|
||||||
|
["'", "'"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "vscode-sbt-scala",
|
"name": "vscode-sbt-scala",
|
||||||
"displayName": "Scala (sbt)",
|
"displayName": "Scala (sbt)",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"author": "Lightbend, Inc.",
|
"author": "Lightbend, Inc.",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"publisher": "lightbend",
|
"publisher": "lightbend",
|
||||||
|
|
@ -10,13 +10,36 @@
|
||||||
"url": "https://github.com/sbt/sbt"
|
"url": "https://github.com/sbt/sbt"
|
||||||
},
|
},
|
||||||
"description": "Scala language support using sbt",
|
"description": "Scala language support using sbt",
|
||||||
"icon": "images/sbt-logo-455x262.png",
|
"icon": "images/sbt-logo-bgwhite-455x262.png",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.16.0"
|
"vscode": "^1.16.0"
|
||||||
},
|
},
|
||||||
"categories": [
|
"categories": [
|
||||||
"Languages"
|
"Languages"
|
||||||
],
|
],
|
||||||
|
"contributes": {
|
||||||
|
"languages": [
|
||||||
|
{
|
||||||
|
"id": "scala",
|
||||||
|
"aliases": [
|
||||||
|
"Scala",
|
||||||
|
"scala"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".scala",
|
||||||
|
".sbt"
|
||||||
|
],
|
||||||
|
"configuration": "./language-configuration.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grammars": [
|
||||||
|
{
|
||||||
|
"language": "scala",
|
||||||
|
"scopeName": "source.scala",
|
||||||
|
"path": "./syntaxes/Scala.tmLanguage"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"activationEvents": [
|
"activationEvents": [
|
||||||
"workspaceContains:build.sbt"
|
"workspaceContains:build.sbt"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue