<p>What Sublime Text Go packages are you using? For awhile I used GoSublime, but for some reason it's not working too well any more and the project seems to have lost some steam lately. I'm wondering what are some good alternatives out there?</p>
<hr/>**评论:**<br/><br/>Future_Sense: <pre><p>gosublime is nice but not necessary now, you could be using <a href="https://github.com/golang/sublime-build" rel="nofollow">https://github.com/golang/sublime-build</a> . </p>
<p>Also notable is the go oracle tool
<a href="https://github.com/waigani/GoOracle" rel="nofollow">https://github.com/waigani/GoOracle</a></p></pre>abcded1234234: <pre><p>FYI oracle (from golang.org/x/tools) has been renamed to guru.</p></pre>kavehmz: <pre><p>I was using Sublime for a last 2, 3 years.</p>
<p>Recently I started using Atom. It was annoying for the first week or so ,for me to get comfortable, but it end up to be really good.</p>
<p>As a Sublime user I suggest you to try Atom if you can. Go works better in Atom.</p>
<p>Otherwise I was also using GoSublime.</p></pre>mclellac: <pre><p>Atom is too slow for my tastes, is horrible for larger files, and randomly crashes far too often.</p></pre>jugalator: <pre><p>Yes, I mostly use VS Code instead. Similar in concept, better performance from what I can tell, but fewer plugins. However, it does support Go with the corresponding plugin.</p></pre>FrenchDonkey: <pre><p>Same thing for me. The killer feature was autocomplete on different file under the same package.. </p></pre>rimpy13: <pre><p>That works fine for me in Sublime. Did you have gocode running?</p></pre>FrenchDonkey: <pre><p>Let me make sure that it's the same thing.
Let's say that you have defined a struct myStruct in structs.go </p>
<p>In you main.go, you have autcomplete working for myStruct ? </p></pre>postromantic: <pre><p>Yep, it works. Don't forget to save structs.go to affect autocomplete</p></pre>kavehmz: <pre><p>For me Sublime was working fine. I had no functionality issues. I used it I think for 3 years. But after using Atom for a while I like Atom better.</p>
<p>For Sublime hardcore users, Atom will drive you crazy for the first week or two! give it some time. Specially learn how to customize it.</p></pre>Kipzy: <pre><p>I have that same problem, did you find a fix?</p></pre>justinisrael: <pre><p>I've also always seen this working. You have to make sure that everything you are working on is in your GOPATH and that your GOPATH is configured in the GoSublime env settings. Once you have that you should see completion across all objects imported from any package </p></pre>bmurphy1976: <pre><p>It never worked that well but there isn't really any comprehensive alternative I'm aware of.</p></pre>nuanceinize: <pre><p>I've been using <a href="https://github.com/nuance/GoTools" rel="nofollow">GoTools</a> for a while and really enjoying it (disclaimer: the original author abandoned it so that's my personal fork). The code is pretty clean and easy to hack on, so I've been extending it whenever I find something interesting.</p>
<p>I combine that with the official golang sublime-build package for build / test cycles.</p>
<p>GoSublime is generally pretty excellent, but it seems like development has slowed down a lot lately and the code is a little complicated for my own taste.</p></pre>ironcladlou: <pre><p>GoTools author here. Wanted to drop by and plug Visual Studio Code with the vscode-go plugin. Most advanced Go IDE available today, IMO. It's what sapped my energy to continue working on GoTools. The unfortunately named VSCode is still seriously underrated/unknown. If you like Atom, check it out. It's far lighter weight/better performing and has well thought-out modular IDE underpinnings, AND is very easy to hack (TypeScript). Luke Hoban (who maintains vscode-go) is also a great project lead. There's a very nice community forming around those tools. </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传