https://github.com/fluencelabs/aqua-vscode
Aqua syntax highlighting for VSCode
https://github.com/fluencelabs/aqua-vscode
aqua vscode-extension
Last synced: 12 months ago
JSON representation
Aqua syntax highlighting for VSCode
- Host: GitHub
- URL: https://github.com/fluencelabs/aqua-vscode
- Owner: fluencelabs
- License: apache-2.0
- Created: 2021-03-01T14:41:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T05:28:49.000Z (over 1 year ago)
- Last Synced: 2025-07-07T04:40:59.041Z (12 months ago)
- Topics: aqua, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 429 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Aqua Syntax Highlighting
The tool enables syntax highlighting for [Aqua](https://github.com/fluencelabs/aqua) programming language, compilation on file changes, and go-to definition in Visual Studio.
## Installation and Usage
Installation is pretty simple:
1. Install [the extension](https://marketplace.visualstudio.com/items?itemName=FluenceLabs.aqua).
2. Configure colors for Aqua-specific tokens if needed (see below).
Add the following lines to the [`settings.json`](https://code.visualstudio.com/docs/getstarted/settings) file. Feel free to choose colors according to your favorite theme. In the example below, services will be highlighted as green and all keywords that affect the topology will be highlighted as red.
```json
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "keyword.topology.aqua",
"settings": {
"foreground": "#FF0000",
}
},
{
"scope": "support.service.aqua",
"settings": {
"foreground": "#00FF00",
}
}
]
}
```
More details can be found [here](vsc-extension-quickstart.md).
NOTE: if you're going to change pattern names, check out the naming rules in [TextMate Grammar doc](https://macromates.com/manual/en/language_grammars). You have to use the predefined pattern naming scheme, or the syntax won't be highlighted.
## Support
Please, file an [issue](https://github.com/fluencelabs/aqua-vscode/issues) if you find a bug. You can also contact us at [Discord](https://discord.com/invite/5qSnPZKh7u) or [Telegram](https://t.me/fluence_project). We will do our best to resolve the issue ASAP.
## Contributing
Any interested person is welcome to contribute to the project. Please, make sure you read and follow some basic [rules](./CONTRIBUTING.md).
## License
All software code is copyright (c) Fluence Labs, Inc. under the [Apache-2.0](./LICENSE) license.