Inmanta READMEThis is a Microsoft Visual Code plugin for Inmanta Eliminate Complexity. End-to-end orchestration of applications and networks. Inmanta Documentation on Read the Docs FeaturesSyntax highlightingThe extension makes your life easier by highlighting syntax keywords or the Inmanta language. Code navigationWhen you hover an element while pressing
Compilation error reportingThe extension will run a pre-compilation every time you save your file. Making it easier for you to spot syntax and basic model errors. When hovering the problematic bit, an explaination message is shown, and more details can be found in the Output panel (when selecting Inmanta Server Language in the expandable list on the right).
Model exportThe extension adds a button in the upper right corner of the editing panel of any inmanta model file (ending in
Requirements
Extension SettingsYou can find the settings of the extension, in the Settings panel, under The extension currently has three settings:
Python environmentsThe plugin uses the Python extension to change environments. This can be done by clicking on the active environment in the bottombar and then selecting the environment to activate. Please use the default setting for "python.interpreter.infoVisibility": "OnPythonRelated". The selected Python environment will be used to install the Inmanta Language server.
Known IssuesThe Python extension sometimes crashes when opening an untrusted workspace for the first time. A workaround to this issue is to restart VS Code. See related discussion here. TroubleshootingNo module named xIf compilation fails with the message "no module named x" where x is a Python module, you might need to clean up the virtual environments used by the compiler. This issue can be caused when you open a project in vscode that you previously compiled manually, or when you change the path for the language server venv. To clean up the virtual environments, remove the .env directory in the Inmanta project directory as well as the directory specified in the Compiler Venv option in the extension's settings. Then restart vscode. Authors
Release Notes0.2Syntax updates and publish in marketplace 0.0.1Initial release Enjoy! |