How do I add Eclipse C++ to Eclipse classic?
I have Eclipse Classic for my Java classes, and I have Visual Studio as well, but I'd much rather k开发者_如何学JAVAeep using Eclipse. Can anyone help?
I tried adding the addons from within Eclipse but it didn't work properly.
You need the Eclipse CDT project plugin.
Having said that, unless you need platform independence, don't give up on Visual Studio. For C/C++ Visual Studio is way, way, way better and faster than Eclipse. (IMHO).
If you work with Windows, I suggest you use 2 different instances of Eclipse. As Eclipse is a portable app (no registry), it is easy to use 2 different instances, or more.
You can also go to Help -> Install new software, choose the Eclipse update site and then choose the C/C++ Development Tools package.
Edit: I have just seen LarsH's question. I should have added that the C/C++ Development Tools package is an Eclipse standard issue and can be added from official Eclipse update sites, like the Juno update site: http://download.eclipse.org/releases/juno/ (it should already be in your update sites list if you are using Eclipse Juno). If everything else fails, you can even download the C/C++ tools here: http://www.eclipse.org/cdt/downloads.php and install them yourself.
I dear myself to say, that seems unwise. As you get plugins and write quite a few projects, you will have increased load times. At least my personal preference is to use multiples instances of eclipse.
Link for c/c++-developers version of eclipse: ( link )
You can autoformat .net with CTRL-A
and then CTRL-K+F
. If you use Autohotkey you can create a script that is executed when you press CTRL-SHIFT-F
and remap it to:
Send, {CTRLDOWN}a{CTRLUP}{CTRLDOWN}kf{CTRLUP}
I also had thought for a long time, that .net IDE designers where not mentally erudite enough to understand the importance of autoformat, to include it. I got so pissed, that I wrote one myself and ran it as external program. Only reacently I found out about CTRL-K+F
.:D
精彩评论