I am working on several CAPL source code files with VS Code. CAPL is a C-Style scripting language used by Vector Diagnostics Tools (Automotive).
For Syntax highlighting I am using a plugin for VSCode (kmasif.capl-vector).
If I press CTRL+Shift+P and enter "format", VS code complains that no formatter for CAPL is installed.
I already tried to add following to settings-json, without success:
"[capl]":{
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"[cin]":{
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"[can]":{
"editor.defaultFormatter": "ms-vscode.cpptools"
},
How can I enable formatting for these source code files, while using syntax highlighting from CAPL plugin?