<p>Notepad++ does not support the Go language out of the box. The fixes available on the web are often flawed. Here's my take. I've included all the built-in functions, constants, control structures, and types mentioned in the documentation.</p>
<ul>
<li><a href="http://pastebin.com/Pa1gaRCa">userDefineLanguage.xml | Go, Default</a></li>
</ul>
<p>The above file is to be placed in (or pasted into) /Users/[Name]/AppData/Roaming/Notepad++/userDefineLanguage.xml. When you restart Notepad++, you can choose Go from the bottom of the languages menu. The colors are designed for the Default theme. If you use the Choco theme, use this file instead:</p>
<ul>
<li><a href="http://pastebin.com/SWGNdjt9">userDefineLanguage.xml | Go, Choco</a></li>
</ul>
<p>To enable word completion and built-in function hinting, place the following file into Program Files\Notepad++\plugins\APIs\go.xml.</p>
<ul>
<li><a href="http://pastebin.com/9FBVZCpP">go.xml</a></li>
</ul>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传