Mold Language Server
See https://github.com/Laerdal-Medical/vscode-mold for latest
vscode extension to support .mold files.
Features
- validation
- Semantic highlights
- Explorer view to show variables/states within a mold file
Validation

Semantic highlights

Some of these are custom types of tokens, so will not look different using standard themes.
To change the look of these, edit your vscode settings.json file. e.g.
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"globalVariableName": {
"foreground": "#cc95f3"
},
"assignmentVariableName": {
"foreground": "#b8f3d2"
},
"importExportVariableName": {
"italic": true
},
"equationVariableName": {
"foreground": "#e08d69"
}
}
},
Explorer view

Dependencies
Parser and Lexer generated from a antlr4 grammar
Attributions
Icons from https://www.flaticon.com/
| |