Merge pull request #3600 from eed3si9n/wip/scala_syntax

Add Scala syntax from daltonjorge/vscode-scala
This commit is contained in:
eugene yokota 2017-10-03 18:24:19 -04:00 committed by GitHub
commit dd9b2b2f3a
5 changed files with 1317 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -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": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}

View File

@ -1,7 +1,7 @@
{
"name": "vscode-sbt-scala",
"displayName": "Scala (sbt)",
"version": "0.0.1",
"version": "0.0.2",
"author": "Lightbend, Inc.",
"license": "BSD-3-Clause",
"publisher": "lightbend",
@ -10,13 +10,36 @@
"url": "https://github.com/sbt/sbt"
},
"description": "Scala language support using sbt",
"icon": "images/sbt-logo-455x262.png",
"icon": "images/sbt-logo-bgwhite-455x262.png",
"engines": {
"vscode": "^1.16.0"
},
"categories": [
"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": [
"workspaceContains:build.sbt"
],

File diff suppressed because it is too large Load Diff