Syntax highlighting for QSP language in Visual Studio Code

slonon 477a6000dd fixes/improves single line parsing hace 4 años
qsrc 477a6000dd fixes/improves single line parsing hace 4 años
README.md f7220ad618 Update 'README.md' hace 4 años

README.md

QSP language syntax highlighting for Visual Studio Code

No known bugs:

  • Multiline comments work now

original source


Usage:

  • Copy qsrc folder to "%homepath%\.vscode\extensions"

Customize formatting:

  • Modify settings.json (location: %appdata%\Code\User\) (example content):

    {
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "source.qsp comment",
                "settings": { "foreground": "#bdbdbd" }
            },
            {
                "scope": "source.qsp variable.other.user",
                "settings": { "foreground": "#058bad" }
            },
            {
                "scope": "source.qsp keyword.conditional",
                "settings": {"fontStyle": "bold", "foreground": "#4c4cff" }
            },
            {
                "scope": "source.qsp preprocessor",
                "settings": { "foreground": "#268BD2" }
            },
            {
                "scope": "source.qsp error",
                "settings": { "foreground": "#d40707" }
            }
        ]
    }
    }