Best Sublime Text Go package?

xuanbao · · 843 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>What Sublime Text Go packages are you using? For awhile I used GoSublime, but for some reason it&#39;s not working too well any more and the project seems to have lost some steam lately. I&#39;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&#39;s the same thing. Let&#39;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&#39;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&#39;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&#39;t really any comprehensive alternative I&#39;m aware of.</p></pre>nuanceinize: <pre><p>I&#39;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&#39;s my personal fork). The code is pretty clean and easy to hack on, so I&#39;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&#39;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&#39;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&#39;s a very nice community forming around those tools. </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

843 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传