Skip to content

Repository files navigation

EMSO Language Support for VSCode

This is a Visual Studio Code extension that provides syntax highlighting for .mso files used in EMSO (Environment for Modeling, Simulation and Optimization).

⚠️ Note: This extension is intended only for writing and editing .mso scripts. It does not run simulations. You must open the file in the EMSO environment to execute the model.


✨ Features

  • Syntax highlighting for:
    • EMSO keywords (FlowSheet, PARAMETERS, SET, DEVICES, etc.)
    • Text strings ("text", 'units')
    • Comments (# comment)
    • Numeric constants (10, 3.14)
  • Compatible with any color theme in VSCode.
  • Optional integration with the terminal to open EMSO with the current file.

📷 Screenshots

Code Editing View

Here's how .mso files appear in VSCode after installing the extension:

Code View


Installing the Extension (.vsix file)

To install the extension manually:

  1. Open the Extensions Panel (Ctrl+Shift+X)
  2. Click the ... menu (top right)
  3. Choose Install from VSIX...

Install from VSIX


📦 Installation

  1. Download the emso-language-support.vsix file.
  2. Follow the steps shown in the screenshot above.
  3. Open any .mso file to enjoy syntax highlighting.

▶️ Running the Model

This extension does not run EMSO simulations.

To execute your model, open the .mso file directly in EMSO and run it there.


🔧 Development

This extension was developed by Sergio A. Castaño Giraldo to support researchers and engineers who prefer writing EMSO code in a modern editor like VSCode.


📜 License

MIT


💬 Feedback and Contributions

Feedback and contributions are welcome! Feel free to open an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages