Skip to content

larshp/vscode-abap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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