Syntax Highlighter

Hey,

I regularly use Cubit in combination with Python to script certain things.

To date, I script everything in VScode and then copy the code into the Journal editor to run and display the stuff. It would be easier to write the code directly in the journal editor, but without syntax highlighter it is quite hard to read and more error prone (see attachment).

So my question: Is there a way to enable syntax highlighter for Python in the Journal Editor?

Kind regards
Andreas

Hi Andreas,

We are actively working on a next generation user interface that will provide an enhanced editor. This editor will use the same underlying code, Monaco, as used in VScode.

Our first use case was defining the grammar and syntax for the FEA code MOOSE. We have not yet defined the grammar for the Cubit language, but that is in the plans.

Thanks,
Karl