Go to file
folex 589238f7a5
fix(deps): update vscode to 1.94.0 (#125)
fix(deps): vscode 1.94.0 compatibility
2024-10-07 12:28:48 +07:00
.github chore: Update renovate (#123) 2024-09-04 17:31:25 +03:00
.vscode Extension with language server (#14) 2022-05-17 15:06:52 +03:00
client fix(deps): update vscode to 1.94.0 (#125) 2024-10-07 12:28:48 +07:00
integration-tests chore(deps): update dependency @fluencelabs/aqua-lib to v0.12.1 (#124) 2024-10-05 12:17:26 +03:00
language-configurations feat(vs-code): Update aqua syntax defs [fixes LNG-227] (#46) 2023-09-01 15:38:29 +03:00
server fix(deps): update vscode to 1.94.0 (#125) 2024-10-07 12:28:48 +07:00
syntaxes add highlighted todo (#92) 2024-03-05 20:45:28 +03:00
.eslintrc.json Extension with language server (#14) 2022-05-17 15:06:52 +03:00
.gitattributes move vscode plugin into the repo root 2021-05-25 12:57:56 +03:00
.gitignore feat(tests): Add integration tests [LNG-318] (#76) 2024-01-16 09:36:45 +03:00
.prettierrc.js Extension with language server (#14) 2022-05-17 15:06:52 +03:00
.vscode-test.js feat(tests): Add integration tests [LNG-318] (#76) 2024-01-16 09:36:45 +03:00
.vscodeignore feat(tests): Add unit tests [LNG-323] (#81) 2024-01-18 10:25:09 +01:00
CHANGELOG.md Extension with language server (#14) 2022-05-17 15:06:52 +03:00
CONTRIBUTING.md docs: README minor update (#26) 2023-02-22 08:17:26 +03:00
icon.png move vscode plugin into the repo root 2021-05-25 12:57:56 +03:00
LICENSE docs: README minor update (#26) 2023-02-22 08:17:26 +03:00
package-lock.json fix(deps): update vscode to 1.94.0 (#125) 2024-10-07 12:28:48 +07:00
package.json fix(deps): update vscode to 1.94.0 (#125) 2024-10-07 12:28:48 +07:00
README.md docs: README minor update (#26) 2023-02-22 08:17:26 +03:00
renovate.json chore: Update renovate (#123) 2024-09-04 17:31:25 +03:00
tsconfig.json feat(tests): Add unit tests [LNG-323] (#81) 2024-01-18 10:25:09 +01:00

Aqua Syntax Highlighting

The tool enables syntax highlighting for 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.

  2. Configure colors for Aqua-specific tokens if needed (see below).

    Add the following lines to the settings.json 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.

        "editor.tokenColorCustomizations": {
            "textMateRules": [
                {
                    "scope": "keyword.topology.aqua",
                    "settings": {
                        "foreground": "#FF0000",
                    }
                },
                {
                    "scope": "support.service.aqua",
                    "settings": {
                        "foreground": "#00FF00",
                    }
                }
            ]
        }
    

More details can be found here.

NOTE: if you're going to change pattern names, check out the naming rules in TextMate Grammar doc. You have to use the predefined pattern naming scheme, or the syntax won't be highlighted.

Support

Please, file an issue if you find a bug. You can also contact us at Discord or Telegram. 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.

License

All software code is copyright (c) Fluence Labs, Inc. under the Apache-2.0 license.