Community
    • Login

    Include new style for new language (gcode language) in the notepade++

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    2 Posts 2 Posters 1.6k Views
    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.
    • Ahmad AwadaA
      Ahmad Awada
      last edited by

      Hello, why we haven’t a style for the “gcode” language in the notepade++ ?
      I wish to define a suitable style for this language…
      Thank you.

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @Ahmad Awada
        last edited by

        @Ahmad-Awada

        In Notepad++ syntax highlighting and code folding is managed by the editing component Scintilla. This is an external open source project and the basis for a lot of editors and IDEs (Integrated Development Environments).

        Notepad++ only provides native support for programming languages that are supported by Scintilla. But it is possible to create control files for so called UDLs (User Defined Languages) to extend the language support of Notepad++. However, the configurator of UDLs integrated in Notepad++ has some limitations, thus it is almost not possible to achieve the same quality of language support for UDLs as for languages natively supported by Scintilla.

        So, you have two options:

        1. Go to >>> the project site of Scintilla <<< to file a feature request for including GCode as a natively supported language. But it likely will take a long time until it has been implemented.
        2. In Notepad++, go to (menu) Language -> Define your language. The UDL configurator will open and you are ready to start defining GCode as UDL. >>> This page <<< of the Notepad++ user manual provides some basic info how to do that and, most important, you will find there a link to a detailed manual.
        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors