File tree Expand file tree Collapse file tree 14 files changed +111
-25
lines changed Expand file tree Collapse file tree 14 files changed +111
-25
lines changed Original file line number Diff line number Diff line change 1
- # Scala Syntax
1
+ # Scala Syntax and Snippets
2
+ Visual Studio Code extensions that provide Scala syntax and snippets.
2
3
3
- [ VS Code plugin ] ( https://marketplace.visualstudio.com/items?itemName=nicolasstucki.scala )
4
+ Refer to the READMEs in the respective directories:
4
5
5
- ## Features
6
+ - [ Scala Syntax] ( /syntax )
7
+ - [ Scala Snippets] ( /snippets )
6
8
7
- Extension providing Scala syntax and code snippets.
8
-
9
- ## Requirements
10
-
11
- No requirements.
12
-
13
- ## Based on
14
- * Plugin: https://github.com/daltonjorge/vscode-scala
15
- * Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle )
16
-
17
- ## License
18
- [ MIT] ( LICENSE )
19
-
20
- -----------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
1
+ // A launch configuration that launches the extension inside a new window
2
+ {
3
+ "version" : " 0.1.0" ,
4
+ "configurations" : [
5
+ {
6
+ "name" : " Launch Extension" ,
7
+ "type" : " extensionHost" ,
8
+ "request" : " launch" ,
9
+ "runtimeExecutable" : " ${execPath}" ,
10
+ "args" : [" --extensionDevelopmentPath=${workspaceRoot}" ]
11
+ }
12
+ ]
13
+ }
Original file line number Diff line number Diff line change
1
+ # Scala Snippets
2
+
3
+ [ VS Code plugin] ( https://marketplace.visualstudio.com/items?itemName=scala-lang.scala-snippets )
4
+
5
+ ## Features
6
+
7
+ Extension providing Scala code snippets.
8
+
9
+ ## Requirements
10
+
11
+ No requirements.
12
+
13
+ ## License
14
+ [ MIT] ( LICENSE )
15
+
16
+ -----------------------------------------------------------------------------------------------------------
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " scala" ,
3
+ "displayName" : " Scala Snippets" ,
4
+ "description" : " Scala Snippets" ,
5
+ "version" : " 0.1.0" ,
6
+ "publisher" : " scala-lang" ,
7
+ "license" : " SEE LICENSE IN LICENSE.md" ,
8
+ "engines" : {
9
+ "vscode" : " ^1.5.0"
10
+ },
11
+ "homepage" : " https://github.com/scala/vscode-scala-syntax/blob/master/snippets/README.md" ,
12
+ "repository" : {
13
+ "type" : " git" ,
14
+ "url" : " https://github.com/scala/vscode-scala-syntax.git"
15
+ },
16
+ "icon" : " images/smooth-spiral.png" ,
17
+ "categories" : [
18
+ " Snippets"
19
+ ],
20
+ "contributes" : {
21
+ "snippets" : [
22
+ {
23
+ "language" : " scala" ,
24
+ "path" : " ./snippets.json"
25
+ }
26
+ ]
27
+ },
28
+ "extensionDependencies" : [
29
+ " scala-lang.scala"
30
+ ]
31
+ }
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ # Welcome to your VS Code Extension
2
+
3
+ ## What's in the folder
4
+ * This folder contains all of the files necessary for your extension
5
+ * ` package.json ` - this is the manifest file in which you declare your language support and define
6
+ the location of the grammar file that has been copied into you extension.
7
+ * ` snippets.json ` - this is the file defining the snippets
8
+
9
+ ## Get up and running straight away
10
+ * press ` F5 ` to open a new window with your extension loaded
11
+ * create a new file with a file name suffix matching your language
12
+ * verify that syntax highlight works and that the language configuration settings are working
13
+
14
+ ## Make changes
15
+ * you can relaunch the extension from the debug toolbar after making changes to the files listed above
16
+ * you can also reload (` Ctrl+R ` or ` Cmd+R ` on Mac) the VS Code window with your extension to load your changes
17
+
18
+ ## Add more language features
19
+ * To add features such as intellisense, hovers and validators check out the VS Code extenders documentation at
20
+ https://code.visualstudio.com/docs
21
+
22
+ ## Install your extension
23
+ * To start using your extension with Visual Studio Code copy it into the <user home >/.vscode/extensions folder and restart Code.
24
+ * To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ # Scala Syntax
2
+
3
+ [ VS Code plugin] ( https://marketplace.visualstudio.com/items?itemName=scala-lang.scala )
4
+
5
+ ## Features
6
+
7
+ Extension providing Scala syntax.
8
+
9
+ ## Requirements
10
+
11
+ No requirements.
12
+
13
+ ## Based on
14
+ * Plugin: https://github.com/daltonjorge/vscode-scala
15
+ * Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle )
16
+
17
+ ## License
18
+ [ MIT] ( LICENSE )
19
+
20
+ -----------------------------------------------------------------------------------------------------------
File renamed without changes.
Original file line number Diff line number Diff line change 8
8
"engines" : {
9
9
"vscode" : " ^1.5.0"
10
10
},
11
- "homepage" : " https://github.com/scala/vscode-scala-syntax/blob/master/README.md" ,
11
+ "homepage" : " https://github.com/scala/vscode-scala-syntax/blob/master/syntax/ README.md" ,
12
12
"repository" : {
13
13
"type" : " git" ,
14
14
"url" : " https://github.com/scala/vscode-scala-syntax.git"
32
32
"configuration" : " ./language-configuration.json"
33
33
}
34
34
],
35
- "snippets" : [
36
- {
37
- "language" : " scala" ,
38
- "path" : " ./snippets/scala.json"
39
- }
40
- ],
41
35
"grammars" : [
42
36
{
43
37
"language" : " scala" ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ https://code.visualstudio.com/docs
24
24
25
25
## Install your extension
26
26
* To start using your extension with Visual Studio Code copy it into the <user home >/.vscode/extensions folder and restart Code.
27
- * To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
27
+ * To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
You can’t perform that action at this time.
0 commit comments