Community
    • Login

    Golang support

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 703 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.
    • CreativeQuiltC
      CreativeQuilt
      last edited by

      Golang support needs to be added because popular editors like Atom, Sublime Text, and VS Code have go support.

      PeterJonesP 2 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @CreativeQuilt
        last edited by

        @CreativeQuilt ,

        To add native Golang lexing support, Scintilla would need to add it, then the Notepad++ developers would have to spend the effort to upgrade Scintilla.

        But remember, one of Notepad++'s features is User Defined Languages (“UDL”). The UDL Collection appears to have a UDL for Go, or you could make your own.

        For more on the UDL feature of Notepad++, see the docs:

        • official summary: https://npp-user-manual.org/docs/user-defined-language-system/
        • detailed guide: https://ivan-radic.github.io/udl-documentation/
        1 Reply Last reply Reply Quote 3
        • PeterJonesP
          PeterJones @CreativeQuilt
          last edited by PeterJones

          @CreativeQuilt

          I just checked the Scintilla source code … even their most recent version doesn’t appear to have Go – ie, I couldn’t find LexGo*.cpp in the source code, so unless there’s some other name other than Go or Golang that the language goes by, someone would have to make a Scintilla Feature Request to get the ball rolling.

          Update: https://sourceforge.net/p/scintilla/feature-requests/750/ shows “they” won’t do it. Though if i read correctly, “they” might allow someone else to contribute the lexer to their codebase.

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors