Go Lang support for Intellij

polaris · · 1435 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I would like to have official support let&#39;s ask for this on Intellij <a href="https://intellij-support.jetbrains.com/requests/65590">https://intellij-support.jetbrains.com/requests/65590</a></p> <hr/>**评论:**<br/><br/>zackb: <pre><p>I&#39;ve been using this one for about 2 months now <a href="https://plugins.jetbrains.com/plugin/5047">https://plugins.jetbrains.com/plugin/5047</a> Syntax highlighting, completion, run work well. Debugging is hit and miss so far.</p></pre>dlsniper: <pre><p>Debugging is a hit or miss with GDB because GDB itself doesn&#39;t really support Go. While it&#39;s true that there might be some bugs in the implementation, I&#39;m pretty sure most of the times the issues come from GDB itself. Delve support is in-progress.</p></pre>jbuberel: <pre><p>The still-in-beta but officially supported plugin here is really a huge improvement:</p> <p><a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin</a></p></pre>nathanpaulyoung: <pre><p>That is <em>literally</em> the same plugin.</p></pre>szabba: <pre><p>The IntelliJ plugin is being developed by JetBrains&#39; emplyees. What would &#34;official support&#34; mean?</p></pre>mdwhatcott: <pre><p>Probably an official product on the jetbrains website, right alongside IntelliJ Idea, PyCharm, RubyMine, WebStorm, etc...</p></pre>jbuberel: <pre><p>It&#39;s not quite ready for release yet, but if you Google &#34;golang intellij plugin&#34; it will bring you here, with full installation instructions:</p> <p><a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin</a></p></pre>stef_k: <pre><p><a href="https://youtrack.jetbrains.com/issue/IDEABKL-5938" rel="nofollow">https://youtrack.jetbrains.com/issue/IDEABKL-5938</a></p> <p>this is an old but active request on jetbrains youtrack, there are currently 279 votes for this.</p> <p>things i would like to see are template support (context - autocompletion, etc)</p></pre>dlsniper: <pre><p>Turns out it&#39;s not a good link:</p> <p>Request not found You do not have access to request #65590. It may have been solved or deleted.</p> <p>Better one would be the one <a href="/u/stef_k" rel="nofollow">/u/stef_k</a> suggested. However, I&#39;m sad that despite all the efforts that go in the plugin right now, you still feel the need to ask for official support. Is there something missing from the plugin that is a deal-breaker for you? Could we do something better?</p> <p>We look for contributors to help us out and contributions can come in many forms (issues with sample code, docs, video tutorials and so on).</p> <p>Lastly we&#39;ve recently had some amazing contributions from our users and I&#39;d like to thank them again for their efforts. That&#39;s why I&#39;m saying, if you feel like you miss something or it could be improved, please let us know.</p> <p>Thank you.</p></pre>stef_k: <pre><p>Are there any plans to support html templates (loops, if-else blocks, formatting and context aware autocompletion)?</p></pre>dlsniper: <pre><p>If by plans to support you mean tickets then yes, you should keep an eye on this <a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/351" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/351</a>.</p> <p>If you&#39;d ask for a time frame, unfortunately I cannot give you that. I can tell you that if someone would come tomorrow and ask for guidance to implement it then he/she would receive it (and we&#39;d definitely appreciate the help).</p> <p>For example, in the latest &#39;alpha&#39; release there was a contribution to have support for gocheck testing framework.</p> <p>Personally I have used the templates only once, when I was learning Go so for me those are not a priority. If no one will do it until I get around maybe I&#39;ll add it, but who knows?</p> <p>Currently I&#39;m working on Delve support, I don&#39;t think there&#39;s another editor/IDE supporting that at the moment, is there?</p> <p>Also, in all fairness, the support for templates came up among the least requested features, where as the debugger I think it dwarfs all the other requests combined and time is limited for any of us, unfortunately. </p></pre>stef_k: <pre><p>First of all I would like to thank you and the rest contributors for your work. I use the plugin with webstorm for web work.</p> <p>As for guidance, I think it would be a very positive step towards the implementation of the feature but personally I am not asking it because i am not certain if I would be able to do it. If you could spare some of your time to write some words on project&#39;s wiki, I would be grateful.</p></pre>Bbbb1133: <pre><p>You can see lots of progress here: <a href="https://github.com/go-lang-plugin-org/go-lang-idea-plugin" rel="nofollow">https://github.com/go-lang-plugin-org/go-lang-idea-plugin</a></p> <p>A Jetbrain worker is pushing alot of commits there so I think they really care, but before offical support they need to get several things working and fixxed. </p> <ul> <li>Delve(Debugger) has a network api binding now but It&#39;s still not working with the plugin.</li> <li>If I remember right there was some fuck up with the GoPath</li> <li>You can see there alot of other issues @ Github</li> </ul> <p>So as IntelliJ is a good product I think they really want to make it good before releasing it.</p></pre>

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

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