0

I think OpenModelica has a very bad editor. Specially when you want to edit the code and it is not complete, OpenModelica doesn't allow saving! I usually have to use a different editor to write the code incrementally and open it in OpenModelica for simulation.

What is the best editor (including plugins) for Modelica Language? Features I want to have are:

  • Syntax highlighting
  • Auto Code Completion
  • Cross Platform
  • Open Source

I would appreciate if you could share your experience.

3
  • I can suggest to make an plugin for CudaText (cross-platform, open source) and its Python API. It has Modelica lexer. Current editor SimForge is in Java, it's not easy to change. Commented Nov 27, 2017 at 6:13
  • @RProgram how about the existing plugins for Vim or Atom? Commented Nov 27, 2017 at 8:50
  • It's good alternative, but CudaText is faster than Atom. Commented Nov 27, 2017 at 13:10

1 Answer 1

1

You may try Notepad++ in Windows. User-defined language file for Modelica language shall be downloaded from https://gist.github.com/dietmarw/3346903. Although it is not perfect, it is a good starting point and can be further developed if required.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.