views:

374

answers:

17

Hi

Could anyone recommend me an Editor with C++ highlighting? I know there is VIM but would prefer an easier one where I could use all the classical WINdows commands.

Many thanks

A: 

Notepad2 is a great lightweight editor with syntax highlighting (including C/C++). Displays line numbers, print margin, &c. as well.

pianoman
+6  A: 

Notepad++ is similar to notepad2. Another option for you to check out. Does line numbers as well, code folding, and code auto-complete.

Totty
Yeah, it feels almost like an IDE.
pianoman
+2  A: 

Notepad++

Eliseo Ocampos
+3  A: 

I use SciTE. It is the example project for Scintilla - a free source code editing component.

Edit: Notepad++ also uses Scintilla at the core. I have tested it (nice plugins) and found it to be a bit buggy and slow, one example which came to mind - edit a 350k source file and then vertically select some columns from top to bottom and copy this text, open a new file and then paste - you will have to wait allot!

I'm back to SciTE - blazing fast and stable (like Scintilla).

Cristian Adam
Notepad2 is also Scintilla based... doesn't provide as much functionality as N++ or SciTE, but is equally fast and hella lightweight.
pianoman
+7  A: 

On windows, If you are looking for free and pretty well featured IDE then the Eclipe CDT is nice. Also check out the Visual C++ Express.

If on a Mac XCode is free and awesome, Eclipse works there as well.

For pay options Visual Studio is still the best on windows.

If you are looking for just an editor then Notepad++ or Context works.

Ryan Christensen
+1  A: 

I'd have to recommend UltraEdit It has similar features to notepad++. I like ultra-edit in particular for its ability to edit the syntax highlighing commands (we've added custom languages pretty easily), as well as amazingly well implemented find-in-files.

greggorob64
A: 

Don't forget Emacs, especially the EmacsW32 Windows port. Very good C++ syntax highlighting (well, it's got highlighting available for pretty much every programming language known to man, but not all of them are included in the basic package).

Timo Geusch
+1  A: 

Personally I prefer Programmer's Notepad 2 as my lightweight editor of choice on Windows. It is fast, works well and supports a large number of language syntax's out of the box and it is free to boot.

Simon
+1  A: 

Textpad is free to use (if you don't mind the occasional nag screen) and supports highlighting for C++. It doesn't have a lot of extra features, so if you just want highlighting this might be useful.

Symphony
I am using Textpad for over 10 years now, and it's just great!
dwo
+1  A: 

I would recommend CodeKana, which is an excellent C/C++/C# code highlighter and visualizer plugin for Visual Studio: http://www.codekana.com/

Andrey Butov
A: 

Pepper is an awesome text editor.

http://theindiecompanyllc.com

+1  A: 

I use EmEditor for all my work outside of Visual Studio. It has syntax highlighting and autoindent support for C++ as well as many other languages. It's also fast, unobtrusive and has great Unicode support.

odd parity
+4  A: 

I'm surprised Visual C++ Express Edition doesn't have more positive comments. I use Visual Studio for everything it supports, and Programmer's Notepad 2 or ConTEXT for highlighting file types it doesn't support. The performance difference of Visual Studio against Eclipse is laughable - almost makes you say "wait, you were serious?"

Edit: You didn't say free in the first post. The paid version(s) of Visual Studio is the definitive Windows development IDE.

280Z28
A: 

Zeus IDE

jussij
A: 

Eclipse CDT. It is more than a plain editor, and yes, it might feel bloatish - even slow - but it has quite some features that make it a worthy tool:

  1. Semantic highlighting (highly customizable)
  2. Good search & replace functionalities
  3. It is highly customizable. It may take some time to configure e.g. the editor to behave like "normal" editors in Windows, but once you've done that, you won't want to look back. Ever.
  4. It's free.
A: 

EmEditor has syntax highlighting and auto indenting for C++. Works great for everything I've ever used it for!

EJP
A: 

Crimson Editor

0A0D