Skip to content

Commit f554622

Browse files
committed
Remove snippet package, fixes #18
- 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.
1 parent 8a4ae57 commit f554622

23 files changed

+139
-326
lines changed

.gitignore

+4-2
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

syntax/.vscodeignore .vscodeignore

File renamed without changes.

README.md

+31-5
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.

syntax/package.json package.json

File renamed without changes.

snippets/.vscode/launch.json

-13
This file was deleted.

snippets/README.md

-16
This file was deleted.

snippets/package.json

-31
This file was deleted.

snippets/snippets.json

-31
This file was deleted.

snippets/vsc-extension-quickstart.md

-24
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

syntax/.vscode/launch.json

-24
This file was deleted.

syntax/.vscode/tasks.json

-16
This file was deleted.

syntax/README.md

-34
This file was deleted.

syntax/images/smooth-spiral.png

-12.7 KB
Binary file not shown.

syntax/package-lock.json

-130
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)