Community
    • Login

    i need support to golang' language

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

        @tutoriales-honestos

        It’s an open ISSUE for Notepad++.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP Online
          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 Online
            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

            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