I like the way Visual studio (2008) format C# code; unfortunately it seems it doesn't behave in the same way when writing C++ code.
For example, when I write a code in this way:
class Test {
public:
int x;
Test() {this->x=20;}
~Test(){}
};
in C# (ok this is C++ but you can understand what I mean), this part:
Test() {this->x=20;}
Will become
Test() { this->x=20; }
This is obviusly a stupid example, but there are a lot of things where putting brackets in correct position, indenting code and other things with my own hands becomes boring.
I can obviusly change editor if you suggest me a good one for C++ code, I would like to find something with these features:
- Intellisense (like vs, at least similiar)
- Custom class coloring (in c# they are cyan, why are they black in c++?)
- Wordwrap (possibly)
- Documentation when you mouse over a method/variable
- Auto formatting (when you close a bracket like "}" in c# you'll get everything well formatted)
obviusly I can find other features, but this is what is in my mind at the moment.
Thanks for any suggestion