GoLang on PHPStorm

xuanbao · · 4548 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello, has anyone managed to set up GoLang on PHPStorm? Any advise on acheiving this is appreciated</p> <p>cheers.</p> <hr/>**评论:**<br/><br/>jcbwlkr: <pre><p>I haven&#39;t tried but have you looked at <a href="https://plugins.jetbrains.com/plugin/?id=5047" rel="nofollow">https://plugins.jetbrains.com/plugin/?id=5047</a> ?</p></pre>dlsniper: <pre><p>What problem did you encountered with it? I would recommend opening an issue on the tracker (and please follow the template) and I&#39;ll be able to help you get this done. </p></pre>osmorgan: <pre><p>hello. i have installed the plugin.. but how to i build or run?? The &#34;run configuration&#34; has [none] in the module area, and shows this as being the problem.</p> <p>also, setting the SDK location shows the version as &#34;N/A&#34; </p></pre>dlsniper: <pre><blockquote> <p>hello. i have installed the plugin.. but how to i build or run?? The &#34;run configuration&#34; has [none] in the module area, and shows this as being the problem.</p> </blockquote> <p>Hi there.</p> <p>Please open up a issue here: <a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/new" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/new</a> Or ping me on here: <a href="https://gitter.im/go-lang-plugin-org/go-lang-idea-plugin" rel="nofollow">https://gitter.im/go-lang-plugin-org/go-lang-idea-plugin</a> and I&#39;ll be able to help you out much faster than this.</p> <p>Cheers ;)</p></pre>mrgaeta: <pre><p>What did you set for the Go SDK path?</p> <p>Note it&#39;s not the binary path. On my (Linux) setup entering /usr/lib/go correctly detects the version as 1.6.</p></pre>mrgaeta: <pre><p>Yes. I installed the plugin through the PHPStorm plugins window. Simply install and restart.</p> <p>For pure Go code, however, I&#39;d recommend LiteIDE as it is much more Go oriented and is, IMO, a much better experience than trying through PHPStorm.</p> <p>Edit: I should have clarified I use both. PHPStorm is great for web stuff, but to me LiteIDE (so far) seems better for pure-Go.</p> <p>Edit 2: I take it back. Turns out I hadn&#39;t configured the Go plugin properly. With that done PhpStorm is a great editor for Go.</p></pre>dlsniper: <pre><p>There are plenty of reasons to use PHPStorm over LiteIDE. For example, debugging is done via delve vs gdb and thus is much better in PHPStorm. And it supports a bunch of other things for HTML/JavaScript that LiteIDE doesn&#39;t have (yet). On the other hand LiteIDE is... well lite so, to each its own :)</p></pre>mrgaeta: <pre><p>I updated my comment. After updating the Go plugin it told me I hadn&#39;t set the SDK path. After doing that it&#39;s a really good IDE for Go.</p></pre>

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

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