What free c++ IDE has the best syntax highlighting? ( not including VS2012 )

Started by
13 comments, last by littletray26 11 years, 6 months ago
I'm looking for a replacement to VS2012 for a cross platform project. I need the best syntax highlighting cause VS2012 has spoiled me rotten and I'm used to it. I will use GNU compilers such as mingGW on windows.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

Advertisement
I used to use DevC++. No idea if it's current usability stacks up to what you're used to though.
I think your best bet for cross platform development is QTCreator.

Stefano Casillo
TWITTER: [twitter]KunosStefano[/twitter]
AssettoCorsa - netKar PRO - Kunos Simulazioni


I used to use DevC++.

No one should ever be using the original Bloodshed Dev-C++ anymore. See "why you shouldn't use Dev-C++". It's positively ancient as far as software goes, it's not maintained, it's not supported, and it's absolutely riddled with bugs that will never be fixed.
If you really like Dev-C++ there are two updated versions however: Orwell Dev-C++ and wxDev-C++. See "should you use an updated version of Dev-C++".

I still wouldn't choose it personally, but objectively examining them there aren't any real problems with Orwell or wxDev-C++ except that it can be harder to find support.



I haven't used it extensively, but QT Creator looks quite good and is very popular and would probably be worth a look. smile.png

- Jason Astle-Adams

Check out Code::Blocks

It's fully featured, mature, and works great for me. BTW, i second not using Dev-C++. I used it in the past, and it's a Pain In The ARSE

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

Well, I use Code::Blocks.

Game Developer at Orama Interactive!

Check out my personal blog too!

Code::Blocks is great if you want something that is lean and fast, and that just works without trouble and without too many bells and whistles. However, if syntax highlighting and code completion is the primary thing you need, then Code::Blocks may not be your first choice.

Other IDEs such as Eclipse or KDevelop beat the crap out of Code::Blocks and wipe the floor with it when it comes to code completion, helpful popups (showing comments on API functions etc.) and highlighting.

The syntax highlighting built into Code::Blocks is the one built into the Scintilla editor component, which is a very simple string-matching algorithm that is totally agnostic of syntax. Which means for example that [font=courier new,courier,monospace]begin [/font]and [font=courier new,courier,monospace]end[/font], which are C++ standard library names will be highlighted as such, even if they are members of a custom class of your own.

This may be "OK" for you, or not... you decide.
I second QtCreator - I couldn't tell you if it has the "best" syntax highlighting, but it has at least good syntax highlighting and good auto-completion.

Other IDEs such as Eclipse or KDevelop beat the crap out of Code::Blocks and wipe the floor with it...

Thank you for that imagery, although why you think wiping the floor with crap is a good idea may need further clarification.

Stephen M. Webb
Professional Free Software Developer

I vote for Qt Creator. It's open source and cross platform (win, linux, mac).

The syntax highlighting is very decent. For example highlighting of a symbol under cursor highlights it correctly inside its scope, not just the same word in the whole editor. Code completion just works (unlike Visual Studio's Intellisense).

I like also small refactoring features, like changing declaration of a method in a header file will automatically sync the change to the implementation in the .cpp file. The code editor has also features like follow symbol (Ctrl+click), find usages, switch between definition and declaration, etc. These things in Qt Creator just work, while in other IDEs I've tried, only work sometimes.

Although the IDE is not as customizable as Visual Studio or Eclipse (forget dockable panels), it's organized quite ergonomically and it's very fast (unlike eg. Eclipse).

You can download the SDK installer here: http://qt-project.org/downloads

It's worth to mention, that the Qt Creator IDE was designed to work with the Qt libraries, which itself is a great cross platform application toolkit for writing any kind of app imaginable. It literally runs everywhere, eg. besides desktop platforms also ARM and embedded platforms, Android, soon iOS. You can of course use Qt Creator and not use the Qt libraries if you don't need them. However if you are into C++ and cross-platform development, I strongly recommend looking into Qt itself.

This topic is closed to new replies.

Advertisement