Community
    • Login

    Golang support

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.1k Views 2 Watching
    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 Offline
      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 Online
        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 Online
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors