albertmink / vscode-abap

ABAP syntax highlighting for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=larshp.vscode-abap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-abap

ABAP syntax highlighting for Visual Studio Code

Based on https://github.com/pvl/abap.tmbundle

Screenshot

Customization

If you want to customize the token colors, add an editor.tokenColorCustomizations section to your vscode settings.json. The following example will change the color of operators, which have no special highlighting by default:

"editor.tokenColorCustomizations": {
        "[Default Dark+]": {
            "textMateRules": [
                {
                    "scope": "keyword.operator.abap",
                    "settings": {
                        "foreground": "#d456b9"
                    }
                }
            ]
        }
    }

Folding / Regions

Example region,

* #region Hello
WRITE 'test'.
* #endregion

this will make a foldable region, plus show up in the minimap,

Screenshot

About

ABAP syntax highlighting for Visual Studio Code

https://marketplace.visualstudio.com/items?itemName=larshp.vscode-abap

License:MIT License