Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damirka/move-syntax
Move language syntax for VSCode and GitHub
https://github.com/damirka/move-syntax
aptos diem move move-language movelang sui syntax-highlighting vscode vscode-extension
Last synced: 3 months ago
JSON representation
Move language syntax for VSCode and GitHub
- Host: GitHub
- URL: https://github.com/damirka/move-syntax
- Owner: damirka
- License: mit
- Created: 2020-12-11T12:04:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T09:17:11.000Z (5 months ago)
- Last Synced: 2024-09-19T12:13:22.873Z (5 months ago)
- Topics: aptos, diem, move, move-language, movelang, sui, syntax-highlighting, vscode, vscode-extension
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=damirka.move-syntax
- Size: 2.36 MB
- Stars: 30
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Move Language Syntax package
This VSCode extension adds Move syntax support to VSCode (see [VSCode marketplace page](https://marketplace.visualstudio.com/items?itemName=damirka.move-syntax)). As well as defines the TextMate grammar for Move Language to use in other environments.
For full-featured IDE experience, use the [Move Extension](https://marketplace.visualstudio.com/items?itemName=mysten.move).
To learn more about the language:
- [The Move Book](https://move-book.com/)
- [The Move Reference](https://move-book.com/reference)## Highlighting examples
With a dark theme:
![Move syntax highlighting](https://github.com/damirka/move-syntax/blob/main/img/sample_dark.png)With a light theme:
![Move syntax highlighting](https://github.com/damirka/move-syntax/blob/main/img/sample_light.png)## Note for Extension Developers
If you're building your own extension for Move, consider using this one for syntax highlighting. To do so, simply add this extension to the list of dependencies of your extension's `package.json` file:
```json
"extensionDependencies": [
"damirka.move-syntax"
],
```These extensions are already using this syntax highlighting:
- [Move (marketplace)](https://marketplace.visualstudio.com/items?itemName=mysten.move)
## Contribution
Feel free to ask any questions or report bugs [by opening new issue](https://github.com/damirka/move-syntax/issues).
## License
[MIT](LICENSE).