Skip to content

Commit 5d244c3

Browse files
authored
Remove snippet package, fixes #18 (#21)
Remove snippet package, fixes #18
2 parents 8a4ae57 + f554622 commit 5d244c3

23 files changed

+139
-326
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Autogenerated synax files
2-
syntax/syntaxes/Scala.tmLanguage.json
2+
syntaxes/Scala.tmLanguage.json
33

4-
syntax/node_modules
4+
node_modules
5+
6+
*.vsix
File renamed without changes.

README.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,34 @@
1-
# Scala Syntax and Snippets
2-
Visual Studio Code extensions that provide Scala syntax and snippets.
1+
# Scala Syntax
32

4-
Refer to the READMEs in the respective directories:
3+
[VS Code plugin](https://marketplace.visualstudio.com/items?itemName=scala-lang.scala)
54

6-
- [Scala Syntax](/syntax)
7-
- [Scala Snippets](/snippets)
5+
## Features
86

7+
Extension providing Scala syntax.
8+
9+
## Requirements
10+
11+
No requirements.
12+
13+
## Development
14+
15+
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.
16+
17+
To generate the ouput file either use build command or run:
18+
19+
```bash
20+
npm install
21+
```
22+
23+
The output file is validated against the json schema before being written.
24+
25+
26+
## Based on
27+
* Plugin: https://github.com/daltonjorge/vscode-scala
28+
* Template: https://github.com/sellmerfud/scala.tmbundle (https://github.com/mads-hartmann/scala.tmbundle)
29+
* Textmate json schema: https://github.com/Septh/tmlanguage/blob/master/tmLanguage.schema.json
30+
31+
## License
32+
[MIT](LICENSE)
33+
34+
-----------------------------------------------------------------------------------------------------------
File renamed without changes.
File renamed without changes.
File renamed without changes.

snippets/.vscode/launch.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

snippets/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

snippets/package.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

snippets/snippets.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)