Skip to content

Commit

Permalink
Remove snippet package, fixes #18
Browse files Browse the repository at this point in the history
- 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
olafurpg committed May 2, 2019
1 parent 8a4ae57 commit f554622
Show file tree
Hide file tree
Showing 23 changed files with 139 additions and 326 deletions.
6 changes: 4 additions & 2 deletions .gitignore
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.
36 changes: 31 additions & 5 deletions README.md
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.
13 changes: 0 additions & 13 deletions snippets/.vscode/launch.json

This file was deleted.

16 changes: 0 additions & 16 deletions snippets/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions snippets/package.json

This file was deleted.

31 changes: 0 additions & 31 deletions snippets/snippets.json

This file was deleted.

24 changes: 0 additions & 24 deletions snippets/vsc-extension-quickstart.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 0 additions & 24 deletions syntax/.vscode/launch.json

This file was deleted.

16 changes: 0 additions & 16 deletions syntax/.vscode/tasks.json

This file was deleted.

34 changes: 0 additions & 34 deletions syntax/README.md

This file was deleted.

Binary file removed syntax/images/smooth-spiral.png
Binary file not shown.
130 changes: 0 additions & 130 deletions syntax/package-lock.json

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit f554622

Please sign in to comment.