Are You a Visual Studio Code User? OpenMatrix Language is There Too!
The extension provides a powerful, free editor VS code for the OpenMatrix Language, an open-source computational programming language. This brings features like syntax highlighting, indentation rules, collapsible/folding and advanced features like inbuilt dynamic auto-completion, plotting and visualization capabilities of OpenMatrix to VS Code.
Most of these features work out-of-the-box, while advanced features require configuration to get the best experience of OpenMatrix and/or Altair Compose®.
Getting Started
- Install the latest Altair Compose® or Open-Sourced OpenMatrix
- Install VS code - https://code.visualstudio.com/Download.
- Install Compose OML - OpenMatrix Language Extension, from within VS Code Extension (ctrl+shift+X) by searching for ‘Compose OML’ or from visual studio code Marketplace.
- Configuring extension with Open Source OpenMatrix Language
For example:
C:\Program Files\OpenMatrix_1.0.13_win64\OpenMatrix\src\bin\win64\omlconsole.exe
3. Set the OpenMatrix third-party library paths under extension settings as #b.
5. Configuring extension with Altair Compose®
-
- Go to extension settings using command (ctrl+,) and under OML, set the path to the OML executable (OML_EXE) to compose.exe from the installation.
For example:
C:\Program Files\Altair\2023\Compose2023\hwx\bin\win64\Compose.exe
6. Execute OML
Once Extension installed, OML files and syntax automatically gets recognized by vs code and enables RUN button to execute OML files/scripts.
Plots and visualizations provide the same experience as Open source OpenMatrix or Altair Compose® as configured.
Questions and Support
We encourage all feedback. If you face any issues, please reach out to Altair Compose Community Forum