Kena
Kena

Reputation: 6921

Lightweight alternatives to CDT for C++ editing in eclipse

For a few years now, I've been using Eclipse as my all-purpose file editor, regardless of the language I use (which mainly includes C++, Matlab and python, with some XML thrown in for fun).

However, I recently got a new machine with more a recent Eclipse, and the wonderful Colorer plugin, which I previously used, crashes (Which is a separate issue that's apparently specific to my setup - I'll try debug it, but in the meantime I have work to do)

So I've switched to CDT for C++ instead, and I'm having serious performance issues with the editor, especially when copy-pasting or undoing stuff. I understand why CDT is so heavy, but I don't want a full C++ IDE - just something that does decent syntax highlighting.

Are there any lightweight syntax highlighting alternatives to CDT (or Colorer) that do a decent job at C++, without the needless (for me) layer of code completion and all that jazz?

Or, alternatively, any ideas of things I can turn off to turn CDT into a lightning-fast bare-bones editor (I've already turned off the spell-checker and the indexer)

Edited to say that I'm not looking for a replacement editor for Eclipse, except maybe as a short-time fix. If this problem turns out to be unsolvable and I have to learn/configure something new, I'm going to switch to emacs (for all kinds of non-religious reason: it's pretty much standard everywhere, my colleagues already use it, and the person in charge of our standard development setup supports it, so it's really the most reasonable replacement for me) But really, I'd prefer a fix to my poor Eclipse.

Upvotes: 3

Views: 2836

Answers (3)

Patricio Rossi
Patricio Rossi

Reputation: 163

I'm not sure if this will be of help for you, because I don't know your OS and you already found a "solution" for your issue, but a good lightweight, fast, and feature rich IDE for C++ under Linux is Anjuta Maybe be usefull for anyone else

Upvotes: 0

Kena
Kena

Reputation: 6921

I've finally figured out a work-around to my performance issue.

There is a "scalability" mode in CDT that kicks in when your file is above a certain number of lines (under Preferences-C/C++-Editor-Scalability). By changing the default size to 1, I can disabled the "editor live parsing" that seems to be causing the problem, and get a significant performance boost.

Upvotes: 6

Hassan Syed
Hassan Syed

Reputation: 20485

Jheez if you are using C++ then Netbeans handles Autocomplete for C++ the best -- short of visual studio.

Upvotes: 2

Related Questions