C# Ubuntu 下最好的 C++ 或 Mono 编程 IDE 是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/842918/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What's the best programming IDE for C++ or Mono under Ubuntu?
提问by tunnuz
As the title says: what's your IDE of choice to program C++ or Mono under Ubuntu? Is Eclipse a viable way? Is MonoDevelop mature enough? How about other IDEs?
正如标题所说:在 Ubuntu 下编写 C++ 或 Mono 的 IDE 选择是什么?Eclipse 是一种可行的方法吗?MonoDevelop 是否足够成熟?其他IDE怎么样?
采纳答案by Nico
As far as C# goes, you don't really have much, choice, MonoDevelop is the way to go and in my little experience with it, it's good enough (most of my C# work was done in VS2005).
就 C# 而言,你真的没有太多选择,MonoDevelop 是要走的路,根据我对它的一点经验,它已经足够好了(我的大部分 C# 工作都是在 VS2005 中完成的)。
As for C++, I have had success at using Netbeans (6.5 + 6.7beta) for editing and building an old legacy app, which uses handmade Makefiles and lots of other scary things you wouldn't find in any recent C++ project. In our case there was a bit of hand holding to do when setting things up (create the project, then had manually add include paths and what not), but after that, worked almost flawlessly. Code completion worked great, even through various levels of arcane template usage, although it did have trouble in one case (some automatically generated code from Liquid XML 4).
至于 C++,我已经成功地使用 Netbeans(6.5 + 6.7beta)来编辑和构建一个旧的遗留应用程序,它使用手工制作的 Makefile 和许多其他在任何最近的 C++ 项目中都找不到的可怕的东西。在我们的例子中,在设置时需要一些手动操作(创建项目,然后手动添加包含路径等等),但在那之后,工作几乎完美无缺。代码补全效果很好,即使使用了各种级别的神秘模板,尽管在一种情况下确实有问题(一些从 Liquid XML 4 自动生成的代码)。
If you are also going to be developing in Java and are not tied to Eclipse or whatever else, I think Netbeans is a pretty good all-round IDE, considering they have support for groovy, php, ruby, and python, if that tickles your fancy.
如果你也打算用 Java 开发并且不依赖于 Eclipse 或其他任何东西,我认为 Netbeans 是一个非常好的全能 IDE,考虑到它们支持 groovy、php、ruby 和 python,如果这让你觉得痒痒的话想要。
回答by arke
I don't know about Mono, but for C++ I can recommend Code::Blocks. It's not in the Ubuntu repositories though, so you'll have to get the package yourself, but they have precompiled packages for Ubuntu.
我不了解 Mono,但对于 C++,我可以推荐 Code::Blocks。不过,它不在 Ubuntu 存储库中,因此您必须自己获取该软件包,但它们已为 Ubuntu 预编译了软件包。
回答by Luixv
I use Eclipse everywhere.
我到处都使用 Eclipse。
回答by tofi9
KDevelopis quite complete for purely C/C++ development.
KDevelop非常适合纯 C/C++ 开发。
For C#, I'd just go for MonoDevelop, as there is no other alternative which supports code-completion. SharpDevelopwould be nice to try under Wine.
对于 C#,我只会选择 MonoDevelop,因为没有其他支持代码完成的替代方案。SharpDevelop会很高兴在 Wine 下尝试。
回答by SteveL
回答by SteveL
I find eclipse for C++ under ubuntu to be rather easy to break. It has a lot of hidden stuff that can go wrong (like suddenly refusing to build some project) and the C++ indexer can drive you mad.
我发现 ubuntu 下的 C++ eclipse 相当容易破解。它有很多隐藏的东西可能会出错(比如突然拒绝构建某个项目)并且 C++ 索引器可以让你发疯。
回答by ecleel
I am using NetBeans IDEfor C++ Programming. It have a lot of features: C++ Project Support, syntactic and semantic highlighting and more. See this page.
我正在使用NetBeans IDE进行 C++ 编程。它有很多特性:C++ 项目支持、句法和语义突出显示等等。请参阅此页面。
回答by ntcong
I'm using Eclipse for Java, C/C++ and PHP, too. I installed Code::Blocks but I don't like its interface, and Code::Blocks can't generate a makefile ( it has a plugin called cbmakefile, but getting it to work is quite difficult ). NetBeans is a really good IDE, but it's a bit heavy, and I can find anything I want in NetBeans at Eclispe.
我也在将 Eclipse 用于 Java、C/C++ 和 PHP。我安装了 Code::Blocks 但我不喜欢它的界面,而且 Code::Blocks 无法生成 makefile(它有一个名为 cbmakefile 的插件,但让它工作起来非常困难)。NetBeans 是一个非常好的 IDE,但它有点笨重,我可以在 Eclispe 的 NetBeans 中找到我想要的任何东西。
For Mono, I think MonoDevelop is good enough
对于 Mono,我认为 MonoDevelop 已经足够好了
回答by Navaneeth K N
EMACS for everything.
EMACS 的一切。
回答by Jason Baker
Of course, as has been suggested, you can use MonoDevelop for C#. You canalso use it for C++ if you so desire. I don't believe it supports C++/CLR yet (or even if Mono supports C++/CLR).
当然,正如所建议的,您可以将 MonoDevelop 用于 C#。您可以同时使用它的C ++,如果你愿意的话。我认为它还不支持 C++/CLR(或者即使 Mono 支持 C++/CLR)。
For C++, I tend to prefer simple emacs though. C++ is a rather difficult language to provide some of the more "advanced" IDE features anyway.
对于 C++,我倾向于更喜欢简单的 emacs。无论如何,C++ 是一种相当困难的语言,无法提供一些更“高级”的 IDE 功能。