-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
111 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
# Scala Syntax | ||
# Scala Syntax and Snippets | ||
Visual Studio Code extensions that provide Scala syntax and snippets. | ||
|
||
[VS Code plugin](https://marketplace.visualstudio.com/items?itemName=nicolasstucki.scala) | ||
Refer to the READMEs in the respective directories: | ||
|
||
## Features | ||
- [Scala Syntax](/syntax) | ||
- [Scala Snippets](/snippets) | ||
|
||
Extension providing Scala syntax and code snippets. | ||
|
||
## Requirements | ||
|
||
No requirements. | ||
|
||
## Based on | ||
* Plugin: https://github.com/daltonjorge/vscode-scala | ||
* Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle) | ||
|
||
## License | ||
[MIT](LICENSE) | ||
|
||
----------------------------------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// A launch configuration that launches the extension inside a new window | ||
{ | ||
"version": "0.1.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Scala Snippets | ||
|
||
[VS Code plugin](https://marketplace.visualstudio.com/items?itemName=scala-lang.scala-snippets) | ||
|
||
## Features | ||
|
||
Extension providing Scala code snippets. | ||
|
||
## Requirements | ||
|
||
No requirements. | ||
|
||
## License | ||
[MIT](LICENSE) | ||
|
||
----------------------------------------------------------------------------------------------------------- |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "scala", | ||
"displayName": "Scala Snippets", | ||
"description": "Scala Snippets", | ||
"version": "0.1.0", | ||
"publisher": "scala-lang", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"engines": { | ||
"vscode": "^1.5.0" | ||
}, | ||
"homepage": "https://github.com/scala/vscode-scala-syntax/blob/master/snippets/README.md", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/scala/vscode-scala-syntax.git" | ||
}, | ||
"icon": "images/smooth-spiral.png", | ||
"categories": [ | ||
"Snippets" | ||
], | ||
"contributes": { | ||
"snippets": [ | ||
{ | ||
"language": "scala", | ||
"path": "./snippets.json" | ||
} | ||
] | ||
}, | ||
"extensionDependencies": [ | ||
"scala-lang.scala" | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Welcome to your VS Code Extension | ||
|
||
## What's in the folder | ||
* This folder contains all of the files necessary for your extension | ||
* `package.json` - this is the manifest file in which you declare your language support and define | ||
the location of the grammar file that has been copied into you extension. | ||
* `snippets.json` - this is the file defining the snippets | ||
|
||
## Get up and running straight away | ||
* press `F5` to open a new window with your extension loaded | ||
* create a new file with a file name suffix matching your language | ||
* verify that syntax highlight works and that the language configuration settings are working | ||
|
||
## Make changes | ||
* you can relaunch the extension from the debug toolbar after making changes to the files listed above | ||
* you can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes | ||
|
||
## Add more language features | ||
* To add features such as intellisense, hovers and validators check out the VS Code extenders documentation at | ||
https://code.visualstudio.com/docs | ||
|
||
## Install your extension | ||
* To start using your extension with Visual Studio Code copy it into the <user home>/.vscode/extensions folder and restart Code. | ||
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Scala Syntax | ||
|
||
[VS Code plugin](https://marketplace.visualstudio.com/items?itemName=scala-lang.scala) | ||
|
||
## Features | ||
|
||
Extension providing Scala syntax. | ||
|
||
## Requirements | ||
|
||
No requirements. | ||
|
||
## Based on | ||
* Plugin: https://github.com/daltonjorge/vscode-scala | ||
* Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle) | ||
|
||
## License | ||
[MIT](LICENSE) | ||
|
||
----------------------------------------------------------------------------------------------------------- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters