Ctrl+P
ABAP syntax highlighting for Visual Studio Code
Based on https://github.com/pvl/abap.tmbundle
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
settings.json
"editor.tokenColorCustomizations": { "[Default Dark+]": { "textMateRules": [ { "scope": "keyword.operator.abap", "settings": { "foreground": "#d456b9" } } ] } }
Example region,
* #region Hello WRITE 'test'. * #endregion
this will make a foldable region, plus show up in the minimap,