Extend C++ editor with features of C# editor
The C# editor introduced many comfortable features which are all missed in the C++ editor.
Please provide those features for the C++ developers as well.
4 comments
-
averysebastian
commented
+1 ! Stop considering C++ as the Cinderella of programming languages!
-
Qwertie
commented
The first thing that comes to mind is the code snippets! Why can't we use code snippets in plain text files, for that matter? Ahh, code snippets: for TAB TAB =>
for (int i = 0; i < length; i++)
I swear, writing lots of for-loops drives me nuts. You know, I should put an empty .cs file in my C++ project, just to help me type for-loops.
Another nice thing about C# IntelliSense is that when you type a word, it narrows down the search, e.g. I can type "Dial" and it finds "OpenFileDialog" among other things.
But I don't really expect C++ IntelliSense to work as well; it's obviously a much ****** problem. So while a "rename" refactoring tool would be hugely useful in C++ (I rename C# symbols constantly), I can't really blame VS for not supporting it.
There is one tool that would make C++ far less painful: a tool to synchronize .hpp syntax with .cpp syntax, e.g.
virtual std::string MyFunc(int maxLength = 13) const; // hpp syntax
string ClassNameHere::MyFunc(int maxLength) const // cpp syntax
{
}Also, when I press F12 on a class I want to go to the actual class definition, not to a forward declaration like "class Foo;" - MSFT is making WinCE devs use VS2008 so maybe it's fixed in 2010?
-
Tamás Szelei
commented
@AndrewDover IntelliSense, refactoring, snippets are all pretty much missing from the C++ editor. Ok, there is SOME code-completion, but it's not nearly as powerful as the one in the C# editor.
-
AndrewDover
commented
Should be tagged as C++. What specific features that are missing in the C++ most bother you?