Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    G-Code syntax highlighting for modal file editing windows

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    5
    6
    859
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bierfahrerundefined
      bierfahrer
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • burtoogleundefined
        burtoogle
        last edited by

        Err, why?

        1 Reply Last reply Reply Quote 0
        • bierfahrerundefined
          bierfahrer
          last edited by

          It's easier to read when comments are displayed less prominent. At least my opinion

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators
            last edited by

            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.

            Duet software engineer

            1 Reply Last reply Reply Quote 1
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              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.

              Z-Bot CoreXY Build | Thingiverse Profile

              timcurtis67undefined 1 Reply Last reply Reply Quote 1
              • timcurtis67undefined
                timcurtis67 @Phaedrux
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA