Author |
Topic |
|
architekt
Ketchup Master
USA
51 Posts |
Posted - Nov 01 2005 : 6:13:37 PM
|
If I define a function in my header file, say foo(int bla, int bla2), I used to be able to in my C++ file just start typing foo( and then I'd see a tooltip indicating the function parameters. I'd then be able to hit return or tab and VAX would complete the function's signature. Now however it doesn't seem to be working...I just upgraded to Visual Studio 2005 and I can't figure out what option I need to change to get this type of completion back. Anyone know? |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 02 2005 : 3:17:30 PM
|
i am still using VS 2005 beta 2. i am planning to download the final release soon.
having said that, this should still work. there is no option to turn this on or off, since it is always on. using VA 1428 i have just tested this on a C++ class member function, and it works as expected.
which version of VA are you using? do other features of VA work as expected?
are you trying this on class member functions? this is where i tested it myself. |
zen is the art of being at one with the two'ness |
|
|
architekt
Ketchup Master
USA
51 Posts |
Posted - Nov 02 2005 : 3:37:45 PM
|
I'm using 1418 which the site shows as the latest one. And the problem occurs with C++ class member functions, I should have been more clear. I've had this problem before with previous versions, where I'll upgrade and then all of a sudden the parameter completion just stops. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 04 2005 : 2:53:43 PM
|
using VS 2005 beta 2 and VA 1418 i have just added the function definition:
void fooBar(int width, int length) const;
to a header file, as a class member function. when i then typed in the class name in the matching cpp file the parameters were correctly suggested.
1418 is the latest stable release of VA, while various people are using the current beta 1428 quite successfully. however, given this often happens on upgrade this is probably not the issue.
on previous upgrades how have you fixed this? do you know of any pattern that would explain what is going on here? are any other features of VA that you use also breaking when you install an upgrade?
my first guesses are to suggest you clear the cache and rebuild the symbol databases, both are triggered via VA's options dialog -> performance -> general.
i would like to get to the bottom of why this is happening to begin with though. do you have any other plugin's installed? are you installing VA upgrades using a limited login account? |
zen is the art of being at one with the two'ness |
|
|
architekt
Ketchup Master
USA
51 Posts |
Posted - Nov 05 2005 : 6:24:28 PM
|
I have a personal license for home use, and a license at my office. What I did previously was literally copy the registry settings and merge them onto the other computer (I always maintained identical versions). This fixed the problem so i assume there's some sort of registry switch. This time i wasn't able to do that as I had reinstalled my home machine and office machine and hence had no old registry settings to copy from. I've had this problem intermittently in other versions, dating back to the version on the site that you can download if your license has expired. Nothing else in VA ever breaks when I upgrade. I'm thinking perhaps this is like you say, a cache problem or maybe I should try messing around with allowing intellisense to be enabled and see if that fixes the problem.
No, I don't have other plugins. Both machines I have full admin access to. I'll try on Monday when I'm not out of town and let you know how it goes. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 06 2005 : 3:22:39 PM
|
if you are using VA 1428 there is a new "export settings" in VA options, under performance -> general
reading over my registry settings i am not seeing anything obvious that would explain this, however that is hardly proof. if this does not help i can export the registry on my machine and sens you the resulting reg file to see if that helps.
i would love to know which registry key is behind this, if that is in fact the cause of the problem. |
zen is the art of being at one with the two'ness |
Edited by - feline on Nov 06 2005 3:25:19 PM |
|
|
architekt
Ketchup Master
USA
51 Posts |
Posted - Nov 07 2005 : 6:12:05 PM
|
Alright just tried again. I cleared my cache, rebuilt, restarted the IDE. For this particular test, I declared this function as public in my class, Board:
void TestFunc(std::vector<int>* v, int a, std::string s);
In the .cpp file, when I start typing "void Board::TestFunc(" I see the correct parameter list. However, when I press return (I use return, not tab, for completion) I just go to the next line. Just to test, I enabled tab for comletion. All that happens is that I get a tab space.
Let's try diffing the reg keys. Go ahead and email me your branch and I'll upgrade to 1428 and merge it and see what happens. |
|
|
architekt
Ketchup Master
USA
51 Posts |
Posted - Nov 07 2005 : 8:44:36 PM
|
I just turned off the option "Get contents from default Intellisense" and now it works magically fine. I noticed that when I had that on, the tooltip that appeared after a function signature looked like a normal windows tooltip, which I assume was just Intellisense. When I turned that option off, the tooltip became a VAX appearing tooltip and thus completion worked. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 08 2005 : 3:15:33 PM
|
confirmed, if you turn on default intellisense then this stops working
case=631 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|