-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- commit yarn lock file to ensure everybody use the same dependency versions. This is considered a best practice. - move `syntax/` directory to the toplevel since the snippet package is now gone. - gitignore vsix files so that running `vsce package` (build local extension) doesn't produce diffs.
- Loading branch information
Showing
23 changed files
with
139 additions
and
326 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,4 +1,6 @@ | ||
# Autogenerated synax files | ||
syntax/syntaxes/Scala.tmLanguage.json | ||
syntaxes/Scala.tmLanguage.json | ||
|
||
syntax/node_modules | ||
node_modules | ||
|
||
*.vsix |
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 |
---|---|---|
@@ -1,8 +1,34 @@ | ||
# Scala Syntax and Snippets | ||
Visual Studio Code extensions that provide Scala syntax and snippets. | ||
# Scala Syntax | ||
|
||
Refer to the READMEs in the respective directories: | ||
[VS Code plugin](https://marketplace.visualstudio.com/items?itemName=scala-lang.scala) | ||
|
||
- [Scala Syntax](/syntax) | ||
- [Scala Snippets](/snippets) | ||
## Features | ||
|
||
Extension providing Scala syntax. | ||
|
||
## Requirements | ||
|
||
No requirements. | ||
|
||
## Development | ||
|
||
The source language file is located at `src/typescript/Scala.tmlanguage.ts`. The output tmLanguage file `syntaxes/Scala.tmLanguage.json` is marked as ignored in git and shouldn't be commited. | ||
|
||
To generate the ouput file either use build command or run: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
The output file is validated against the json schema before being written. | ||
|
||
|
||
## Based on | ||
* Plugin: https://github.com/daltonjorge/vscode-scala | ||
* Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle) | ||
* Textmate json schema: https://github.com/Septh/tmlanguage/blob/master/tmLanguage.schema.json | ||
|
||
## License | ||
[MIT](LICENSE) | ||
|
||
----------------------------------------------------------------------------------------------------------- |
File renamed without changes
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.