simula-language-support
Extension package to import SIMULA Programming language support into your VS Code.
Features
- Support for basic data-types
- Support for basic syntaxes
- Code snippets for basic functionalities
Enable Run Task
Enable the Compilation and Execution script of your SIMULA Project by putting the following contents in ./vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Compile SIMULA",
"type": "shell",
"command": "cim",
"args": [ "${file}" ]
},
{
"label": "Compile and Run SIMULA",
"type": "shell",
"command": "cim",
"args": [
"${fileBasename}", "&&", "clear",
"&&", "./${fileBasenameNoExtension}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Enable Code Runner
Add or append the following execution map in your settings.json
> code-runner.executorMapByFileExtension
"code-runner.executorMapByFileExtension" : {
".cim": "cim $fileName && clear && echo Compiled and Executing ./$fileNameWithoutExt && ./$fileNameWithoutExt"
}