G-Code syntax highlighting for modal file editing windows
-
Hello, everyone.
I would also like to make a request: G-Code syntax highlighting for modal file editing windows.
I don't think a more detailed description is necessary. But if there are any questions, I will be happy to answer them.
Thank you very much!
Best regards
-
Err, why?
-
It's easier to read when comments are displayed less prominent. At least my opinion
-
I've just checked if there is any good way to implement it but I'm afraid it would simply introduce too many dependencies which would make the web interface slower. The framework I found is used by gcode.ws and it is called CodeMirror.
If you do know a better framework, please let me know and I'll see what I can do.
-
If I'm working on a larger macro I'll start writing it in notepad++ on windows or Atom on OSX which both have syntax highlighting. Then copy and paste it into the DWC.
I think with notepad++ you could even connect to the duet over FTP and work on your config files that way.
-
@phaedrux said in G-Code syntax highlighting for modal file editing windows:
If I'm working on a larger macro I'll start writing it in notepad++ on windows or Atom on OSX which both have syntax highlighting. Then copy and paste it into the DWC.
I think with notepad++ you could even connect to the duet over FTP and work on your config files that way.
+1 for notepad++ It does work well.