Golang support
-
Golang support needs to be added because popular editors like Atom, Sublime Text, and VS Code have go support.
-
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/
-
I just checked the Scintilla source code … even their most recent version doesn’t appear to have Go – ie, I couldn’t find
LexGo*.cppin 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.
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