Description
First of all, thank you very much for this extension - it looks great and if possible, I would really like to use the syntax highlighting from this project with Monaco in a web application to provide a nicer G-code editor.
What I've been missing is briefly mentioned in #44: Syntax highlighting for RepRapFirmware G-code keywords and expressions.
With RepRapFirmware it is possible to use variables (var
, global
, set
), conditional code flow (if
, elif
, else
, while
, abort
, break
), to output generic messages (echo
), and to use dynamic expression parameters (e.g. G1 X{100 * 0.3}
, everything in curly braces is evaluated on execution). The set of keywords is relatively small and well-documented here: https://docs.duet3d.com/en/User_manual/Reference/Gcode_meta_commands
Is there any way this could be added to a future version or can you point me to the right bits that need to be changed?