vscode-configura-cm
This VS Code extension provides support for Configura CET.
Features
This extension provides:
- Syntax highlighting
- Some code navigation
Enabling Debugger
Note that using the debugging features of this extension currently requires enabling an experimental 'debugger' feature within a CM workspace.
To enable debugging in your workspace, add the following code to your boot.cm file in your profile:
import "_cvm.dll" {
package void selfDebugEnable();
}
{
selfDebugEnable();
}
Keybindings
Ctrl+Space : Trigger auto-complete.
Ctrl+Shift+O : Go to symbol.
Ctrl+P : Quick open file.
F5 : Attach the debugger to the running Configura CM environment.
F8 : Go to next problem (compilation error). Shift+F8 to go to the
previous problem.
F12 : Go to definition. Alt+F12 : Peek at definition. Ctrl+K F12 : Show
definition in split pane to the side.
Ctrl+Alt+P : Run the current file.
Ctrl+Alt+U : (Re)Load the current package.
Ctrl+Alt+Y : (Re)Load all known packages.
Alt+C Alt+O : Run the compiler. (Open)
Alt+C Alt+D : Run CET Designer. (Designer)
Alt+C Alt+E : Exit the compiler. (Exit)
Alt+C Alt+Q : Send "Resume from Debuger" (quit(); ). (Quit Debugger)
Alt+C Alt+M : Clean. (Mop it up.)
Alt+C Alt+S : Show the compiler terminal. (Show)
Alt+C Alt+E : Evaluate (run) the current selection. (Evaluate)
Alt+C Alt+L : Evaluate the current line. (Line)
Alt+C Alt+T : Toggle Pln Tracing. (Tracing)
Many other of the typical VS Code keybindings will work as well.
| |