You can specify more editor settings in the global Visual Studio Code settings.json file:
).
This opens the global settings.json in the editor. The location of the file is %userprofile%\AppData\Roaming\Code\User (Windows) or ~/.config/Code/User (Linux) for default installations.
For example, you can configure:
"[cobol]": {
"editor.rulers": [
6,
7,
72
]
}
{
"microFocusCOBOL.editor.improvedTabStops": true,
"microFocusCOBOL.editor.smartEdit": true
}
You can customize your tab stops even further by specifying each column that should be a tab stop.
{
"microFocusCOBOL.editor.customTabStops": [6, 7, 19]
}
{
"microFocusCOBOL.dialect": "Enterprise COBOL for z/OS",
"microFocusCOBOL.sourceFormat": "fixed"
}
Use the editor.semanticTokenColorCustomizations property with the rules option, and modify the settings prefixed with cobol. For example:
{
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"cobol-identifier": "#3b8dda",
"cobol-keyword": "#ff0000",
}