Click to See Complete Forum and Search --> : Intellisense in VC++ 2005


danutz_plusplus
January 3rd, 2007, 11:35 AM
Hi. Is there any way to make the Intellisense in VC++ 2005 more "active", like the one in C#. In C# Intellisense would kick in no matter what you were typing , and in C++ it only kicks in when I use the '.' operator, or so I've noticed. Thanks in advance.

ovidiucucu
January 3rd, 2007, 12:25 PM
Maybe you're right, but I didn't yet notice that C# intellisense is more active than C++ one.
It is as active as needed: "sensitive" on typing '.', '::', or '->' depending on the context.

danutz_plusplus
January 3rd, 2007, 12:29 PM
Maybe you're right, but I didn't yet notice that C# intellisense is more active than C++ one.
It is as active as needed: "sensitive" on typing '.', '::', or '->' depending on the context.
Well it does respond as you say, but in C# it tries to guess what I'm writing even if I'm not using those operators(the ones that are in c#). If i start typing the letter 'n' it will kick in and suggest namespace for ex(this goes for any letter you type). In C++ it doesn't and I was wondering if there was a way to activate this, as I found it quite useful.

ovidiucucu
January 3rd, 2007, 12:49 PM
That's because in C++ is unusual to write kinda C# sausages like for example:
global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)
In C++ I would be very annoyed if, for example, I wish to simply type 'n' then the cool wise intellisense suggests me all keywords/identifiers beginning with 'n'. Ugh...
Believe me, a humble C++ programmer! ;)
For C++ is enough "active" as it is.

danutz_plusplus
January 3rd, 2007, 12:57 PM
That's because in C++ is unusual to write kinda C# sausages like for example:
global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)
In C++ I would be very annoyed if, for example, I wish to simply type 'n' then the cool wise intellisense suggests me all keywords/identifiers beginning with 'n'. Ugh...
Believe me, a humble C++ programmer! ;)
For C++ is enough "active" as it is.

Ok. I see your point. If it doesn't have, long sausages as you put it:D, then it kinda does make sense not to have that. Maybe that's what the guys at Microsoft were thinking when they implemented Intellisense that way. But I honestly wouldn't be bothered if it did react like that, because I wouldn't feel like the popup_namelist would be getting in my way. Thanks for the info.

Zaccheus
January 3rd, 2007, 06:33 PM
One thing I do like about C# intellisense is that if you type:


MyType myVar = new


it pops up with MyType selected (which is what I would want 99% of the time).
:)

Apart from that, I like the C++ and C++/CLI intellisense as it is.

danutz_plusplus
January 4th, 2007, 03:51 AM
One thing I do like about C# intellisense is that if you type:


MyType myVar = new


it pops up with MyType selected (which is what I would want 99% of the time).
:)


Yeah, that is nice. And also is the one where it inserts code snipets. If you insert 'cla'(first 3 letters of class) you can then press TAB twice and it will insert the skeleton structure of the class. Same goes for while, for, namespace, etc.

stefboerrigter
January 10th, 2007, 08:02 AM
Yeah, that is nice. And also is the one where it inserts code snipets. If you insert 'cla'(first 3 letters of class) you can then press TAB twice and it will insert the skeleton structure of the class. Same goes for while, for, namespace, etc.
but it takes all the fun out of programming :):):):):D