i need support to golang' language
-
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?
-
It’s an open ISSUE for Notepad++.
-
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.xmland restart Notepad++, and you will then have UDL-based syntax highlighting for golang on files whose extension are.goEnjoy.
-
@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). Thecpp.propertiesincludes 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.
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