Community
    • Login

    i need support to golang' language

    Scheduled Pinned Locked Moved Blogs
    4 Posts 3 Posters 4.8k 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.
    • tutoriales honestosT
      tutoriales honestos
      last edited by

      hi!, i’m a historical user of notepad, and always see a new version i waiting for this include a golang support… Why still don’t have?

      Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @tutoriales honestos
        last edited by

        @tutoriales-honestos

        It’s an open ISSUE for Notepad++.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @tutoriales honestos
          last edited by

          @tutoriales-honestos ,

          The UDL Collection does have a golang UDL available: https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/UDLs/go_byAnthonyStarks.xml

          Download the raw XML into %AppData%\Notepad++\userDefineLangs\go_byAnthonyStarks.xml and restart Notepad++, and you will then have UDL-based syntax highlighting for golang on files whose extension are .go

          Enjoy.

          PeterJonesP 1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones @PeterJones
            last edited by PeterJones

            @tutoriales-honestos asked again here, and I have redirected followon conversation to this original Topic.

            The quick answer is still that you can use a UDL, as I said in 2022.

            However, I had forgotten about this discussion, so I had started researching an answer to the ask-again Topic, and discovered that the SciTE testbed-editor will open Go/Golang (*.go) files and internally use the C++ lexer (LexCPP.cpp). The cpp.properties includes definitions for Go. So it can handle it.

            I am going to point this out in the long-open ISSUE #8090 that Alan linked, because with that, there shouldn’t be much overhead to add it to Notepad++. So if anyone pays attention to my reply there, it might be that it’s much easier to add that language than was originally thought.

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