IDE warning and question

agolangf · · 1035 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>WARNNING: stay away from Eclipse/GoClipse on Mac.</p> <p>I have spent the past week trying to make Eclipse/GoClipse work on my Mac. It has been the worst experience I have ever had doing anything on a computer.</p> <p>Question</p> <p>Can you all tell me what the best Go IDE&#39;s and the best tools to add to them are on Mac ? I would appreciate any help you can give me. I really want to avoid another experience like my last one.</p> <hr/>**评论:**<br/><br/>JackOhBlades: <pre><p>VS Code is my favourite.</p></pre>darkmagician2: <pre><p>VS Code</p></pre>silviucm: <pre><p>Since the LiteIDE author(s) does not attempt to aggressively advertise his (their) project, allow me to humbly list it here, as a very simple, straight-forward alternative to the other (good) IDEs. It&#39;s something that has served me well over 4 years now. Version x.32 recently out as per a golang-nuts announcement:</p> <p><a href="!searchin/golang-nuts/liteide%7Csort:date/golang-nuts/brIuvlnWnqA/4NdKM5oaCgAJ" rel="nofollow">!searchin/golang-nuts/liteide%7Csort:date/golang-nuts/brIuvlnWnqA/4NdKM5oaCgAJ</a></p></pre>DualRearWheels: <pre><p>LiteIDE is one very fine piece of software. Fast, simple and very efficient for work with Go (same qualities Go have as language).</p></pre>SamJTWIV: <pre><p>Can you tell me what debugger LiteIDE uses on Mac ?</p></pre>peterhellberg: <pre><p>Take a look at Gogland or vim-go :)</p></pre>dlsniper: <pre><p>I think a much better approach would have been: The issues I&#39;ve encountered while using &lt;X&gt; for my work in the past week and provide some useful feedback for the authors to learn from it.</p> <p>As it is, I can only imagine how the people that spent their time and effort getting GoClipse to work feel and I can tell you, it&#39;s not pretty good (especially if they are not backend by any company and do this from their spare time).</p> <p>Please consider at least creating some issues for the project so that they can improve the experience using the plugin or amend the description here to include those. Who knows, maybe someone else would be able to help you solve them.</p> <p>As for &#34;the best Go IDE&#39;s&#34;, I don&#39;t think there&#39;s a &#34;the best&#34;, it&#39;s mostly based on things you might use already or not. For example, you can have a look at: <a href="" rel="nofollow"></a> which shows the 4 most used Go editors, but there are plenty other editors that support Go which are not there. Personally I prefer Gogland.</p></pre>SamJTWIV: <pre><p>I see what you are saying and I agree with you to an extent. My if I where speaking directly with the authors your approach would be the one to follow. My intent however was to post the kind of warning to the general public that I wish someone had posted for me to read. It wouldn&#39;t have been so bad if there description/instructions had contained a warning that the current version was still very buggy and they where looking for lots of feedback. Or something to that effect. (Note: I am only talking about the Mac version I don&#39;t know anything about the windows version.) You see when I downloaded it I was looking for something to simplify my life not more work helping ppl debug program. (Note: at other times and places I have enjoyed helping find bugs and reporting them in free software.) With that said I am happy to list some of the specific problems I had.</p> <ol> <li><p>I downloaded and did the basic setup from there instruction then put my computer to sleep and went to bed the next day I found the GoClipse add on had uninstalled itself somehow so I had to do that all over again.</p></li> <li><p>None of its default paths lead to the default locations of the programs there supposed to use. This is referring to the paths for its recommended add ons that it requires.</p></li> <li><p>Its use Gopath doesn&#39;t actually use your Gopath. You have to turn this off and enter your Gopath.</p></li> <li><p>It doesn&#39;t use your actual Path. Like Gopath it seems to have its own Path. The only way I found to fix this involved changing the Path every time you wrote a new program. No way to fix it for the system as a whole. (Note: this may be a problem with Eclipse not the Goclipse add on).</p></li> <li><p>Its instructions are incomplete. An important example of this is it tells you to download and use gometalinter but has no interface of instructions on how to integrate it. Gometalinters instructions tell you how to integrate with a lot of IDE&#39;s but not Goclipse. After a great deal of working and fiddling with it I finally found a way to get it to work but this involved adding gometalinter to its Path on every project. (Note: see 4.). When it does use gometalinter it runs it on lots of things it should not causing lots more output and errors. (Note: see 6.).</p></li> <li><p>Its project saving system is bulky, messy and requires you to include lots of additional files and programs. It seems to also include every file it can find on any path in its builds.</p></li> </ol> <p>(Note: I did not include problems with GDB because that is a problem caused by apple not Goclipse. Also Goclipses instructions warn about this problem which was the only good surprise I found.)</p> <p>I have to go now Ill be back later.</p></pre>anarchyrucks: <pre><p>if you like heavy stuff then Gogland but I would suggest vim-go or vs-code</p></pre>mentally_lazy: <pre><p>Is Gogland already released officially?</p> <p>I can confirm, vim-go and vs-code are great. I currently use vs-code with the Native Debug and Vim Plugins - I&#39;m astonished about the high quality of all the vs-code and Go-plugin freatures.</p></pre>anarchyrucks: <pre><p>Gogland is in beta phase right now but usable. Most of the go plugins use the same underlying tools like guru, godoc, goimports, etc. It is just a matter of preference. Personally, I use vim.</p></pre>dlsniper: <pre><p>As a heads up, Gogland does not, which has its own advantages and disadvantages.</p></pre>anarchyrucks: <pre><p>cool didn&#39;t know that... thanks!</p></pre>SamJTWIV: <pre><p>Does Gogland use GDB on macs or a different debugger?</p> <p>dlsniper you said &#34;As a heads up, Gogland does not, which has its own advantages and disadvantages.&#34; would you be willing and able to list some of these pros and cons ?</p></pre>dlsniper: <pre><p>I&#39;d be happy to hear what do you think think that can be improved in Gogland to make it lighter (or feel lighter). Thank you. </p></pre>Killing_Spark: <pre><p>I think he is referring to the actual size in memory of the platform. So probably not so much you can change about that </p></pre>_a_very_formal_horse: <pre><p>Emacs and go work great together in my experience.</p></pre>shovelpost: <pre><blockquote> <p>WARNNING: stay away from Eclipse/GoClipse on Mac.</p> </blockquote> <p>Most programmers know to stay away from bloated and clunky IDEs regardless of the platform. And the ones that don&#39;t, simply haven&#39;t used IDEs enough yet.</p> <p>I&#39;d recommend vim + vim-go but if you don&#39;t already know vim then your best bet is probably Vscode.</p></pre>dlsniper: <pre><p>I&#39;ve been using an IDE for the past 11 years (and for Go for the last 4). I guess I never learned a lesson or something. </p> <p>Here&#39;s a counterstatement: most programmers get way to zealous about their tools and are quick to dismiss anything else based not on facts but personal feelings. </p></pre>shovelpost: <pre><blockquote> <p>based not on facts but personal feelings.</p> </blockquote> <p><a href="" rel="nofollow">Facts</a>. </p></pre>dlsniper: <pre><p>So... Notepad++ is as used as Visual Studio. Doesn&#39;t this render your point invalid?</p></pre>shovelpost: <pre><p>Not if you add the rest of the editors.</p></pre>dlsniper: <pre><p>Excluding the numbers from Other as that&#39;s unclear, lets do some basic math. Granted, it jumps over 100%, but that&#39;s not the point, right?</p> <p>Editors: Notepad++ + Sublime Text + Vim + Atom + Visual Studio Code + Emacs + IPython / Jupyter + TextMate + Coda + Lighttable</p> <p>Editors: 35.6 + 31 + 26.1 + 12.5 + 7.2 + 5.2 + 3.5 + 1.6 + 0.9 + 0.3 = 123.9</p> <p>IDEs: Visual Studio + Eclipse + IntelliJ + Android Studio + Xcode + NetBeans + PhpStorm + PyCharm + RStudio + Xamarin + RubyMine + Komodo + Zend </p> <p>IDEs: 35.6 + 22.7 + 17 + 13 + 10.3 + 8.1 + 7.4 + 6.8 + 2 + 2 + 1.7 + 0.8 + 0.5 = 127.9</p> <p>Conclusion: people use different tools to achieve productivity, which is what matters. Also the &#34;heavy&#34; IDEs totally beat the &#34;lightweight&#34; editors (with Atom and VSCode being on the latter part even if they should be in the first part since they are not that &#34;lightweight&#34; to begin with compared to the likes of Vim or Emacs).</p> <p>See why I was saying that people talk about feelings when it comes to editors?</p></pre>shovelpost: <pre><p>My math results are different since I count XCode to the editor part so the editors have the majority. But indeed even with that, the raw math show that the final results are similar (even if the editors win). I honestly had no idea all those down there were IDEs. I&#39;ve never heard of them.</p> <p>My point when I linked the survey was that when I personally squinted my eyes I saw editors as the overwhelming majority but as I mentioned above the raw math prove otherwise. Sure the editors win (134,2 vs 117,6) but only slightly. I am obviously biased based on my past experiences.</p> <p>Moving away from the math, from my experience, the majority of the developers I know were using IDEs in the past and they have now moved to editors. When discussing with them, I always hear that they are much happier now with the editor vs the time they were working with the IDE. I have never heard anyone being unhappy with the editor and moving back to an IDE. From my experience, the people that use IDEs are either people who are new to developing or they write languages that need IDEs, (think Java and Microsoft stuff), or are stuck with them because of company policy/culture or are in some way affiliated with them. Of course this is the environment I live in and I have formed an opinion based on that. Maybe your environment is different and thus you have a different opinion. That&#39;s okay.</p> <blockquote> <p>Conclusion: people use different tools to achieve productivity, which is what matters.</p> </blockquote> <p>Agreed.</p> <blockquote> <p>See why I was saying that people talk about feelings when it comes to editors?</p> </blockquote> <p>Yeah I get your point. I don&#39;t have any math to prove otherwise so all I can say is my opinion based on my background. You like IDEs and promote IDEs, I like editors and promote editors. Let&#39;s agree to disagree.</p></pre>dlsniper: <pre><p>XCode itself brands as an IDE <a href="" rel="nofollow"></a> so I&#39;d really like to count it as an IDE :)</p> <blockquote> <p>I have never heard anyone being unhappy with the editor and moving back to an IDE.</p> </blockquote> <p>I would like to point out Brian K. who is very happy with Gogland after using VIM <a href="" rel="nofollow"></a> for a long while. </p> <blockquote> <p>Let&#39;s agree to disagree.</p> </blockquote> <p>Agreed :)</p></pre>video_descriptionbot: <pre><table><thead> <tr> <th align="left">SECTION</th> <th align="left">CONTENT</th> </tr> </thead><tbody> <tr> <td align="left">Title</td> <td align="left">Migrating to Gogland from a Code Editor: Tips &amp; Tricks</td> </tr> <tr> <td align="left">Description</td> <td align="left">Gogland is the codename of the new Go IDE announced a half a year ago by JetBrains. In this webinar we look at this IDE from the perspective of a user of an editor such as Code, Atom, Sublime Text or Vim. We&#39;ll see where an IDE is inferior to editors and where it surpasses them. Brian, as one who has migrated to Gogland from an editor, will share his experience: both good and bad. Florin, as an IDE advocate, will share share tips and tricks on how to get used to the IDE and get the most from i...</td> </tr> <tr> <td align="left">Length</td> <td align="left">1:19:40</td> </tr> </tbody></table> <hr/> <p><sup>I am a bot, this is an auto-generated reply | </sup><sup><a href="" rel="nofollow">Info</a></sup> <sup>|</sup> <sup><a href=";subject=Feedback" rel="nofollow">Feedback</a></sup> <sup>|</sup> <sup>Reply STOP to opt out permanently</sup></p></pre>SamJTWIV: <pre><p>I didn&#39;t think Xcode supported Go. Can you tell me what is needed to set it up for go?</p></pre>drvd: <pre><p>Maybe &#34;the best&#34; is more a matter of taste and history than something objective?</p></pre>Chillance: <pre><p>Was using Atom, but certainly seem to have better performance on VSCode so using that atm...</p></pre>

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

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