Adding a user-defined language in Notepad++

前端 未结 8 1036
萌比男神i
萌比男神i 2021-01-31 13:58

I\'m trying to add the syntax plugin for the Go programming language in Notepad++.

There is a repository for such user-defined languages. I downloaded and unzip

8条回答
  •  悲哀的现实
    2021-01-31 14:58

    I just got it working on my system after some tinkering. Put this at the top of the userDefinedLang.xml file and the go.xml file:

    
    

    That should do the trick (after reopening Notepad++).

    go.xml should be in the plugins/APIs folder, and userDefinedLang.xml goes in the root of Notepad++ as you said.

提交回复
热议问题