#### Archived

This topic is now archived and is closed to further replies.

# MSVC++ 6.0 auto complete not working

## Recommended Posts

I came in to work today and fired up MSVC++ and when I started trying to access the parameter/function list for a variable, the list didn''t show up. I tried reinstalling the MSDN (Oct 2001) and made sure the settings in the Tools->Options dialog were set correctly but I still can''t get it working. It was working when I left work yesterday... please help

##### Share on other sites
i had this same problem. delete your project files (* not your ".h" and ".cpp" files but project files *) and then recreate the project. it should be fine after that.

(* cool. pascal style comment block. *). hehe.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

##### Share on other sites
ohh, and code complete is not part of the MSDN. most likely part of the classwizard.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

##### Share on other sites
Sweet Mother of...!!!!

Thanks

##### Share on other sites
On a side note, Any clue as to why it does all this auto-completing of class functions/parameters but doesn''t work if i do something like this:

  std::vector v;v.clear();

i get auto complete after the scope resolution operator but not when i do v.

##### Share on other sites
dunno. is this after you have re-created you project. try creating a new project and see if the problem re-occurs.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

##### Share on other sites
Thanks jenova and Torn.

To jenova: Yes, if I create a brand new project it still doesn''t work. Not a big deal but quite curious.

##### Share on other sites
quote:
Original post by xtrmntr
...if I create a brand new project it still doesn''t work. Not a big deal but quite curious.

##### Share on other sites
Would you mind being more specific Oluseyi? Because when I installed it originally it went through with no errors (i know that doesn''t necessarily mean it installed correctly).

##### Share on other sites
When you''re using Visual C++, I have to recommend the excellent Visual Assist. Take a look at the features and you''ll want to buy it immediately. After working with it for an hour, you''ll never want to work without it again.

No, I don''t have shares in Whole Tomato. I just think it''s that good!

##### Share on other sites
Cool plug-in kipp! Thanks

##### Share on other sites
quote:
Original post by xtrmntr
Would you mind being more specific Oluseyi? Because when I installed it originally it went through with no errors (i know that doesn''t necessarily mean it installed correctly).

I don''t mean it was always fscked. I mean it has become fscked - disk error, registry error... a whole bunch of possible things gone wrong. I would advise a reinstall for one reason only: other functionality may start to degrade too.

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!

##### Share on other sites
I have it happen if I somehow use a ( instead of a { and similar stuff. Pretty much, if my scope doesn''t line up it doesn''t always work. Especially with doing member functions for classes...

Usually, I finally compile and find out I mistyped one of the brackets or something. After I fix it, I can go back down to the stuff that I was writing before that it wouldn''t work for, and now it does.

Usually. I''m using 7.0, though, but the same thing worked for me in 6.0.

##### Share on other sites
quote:
Original post by xtrmntr
On a side note, Any clue as to why it does all this auto-completing of class functions/parameters but doesn''t work if i do something like this:

  std::vector v;v.clear();

i get auto complete after the scope resolution operator but not when i do v.

It might be because you can''t call functions globally like that. I''m not being sarcasting, but I think that might be it. Just an idea

No, HTML is not an OO language.

##### Share on other sites
I''m not defining the variable nor am i calling it globally, that was just an example.

##### Share on other sites
wow visual assist really does rock, thanks man

##### Share on other sites
first you need to add the vector file to your project for it to have chance of working - and even then odds are low. I think I''ve had the workspace/code-completion parser work with templates correctly about 3 times - I decided it wasn''t wortht the effort.

The .ncb gets corrupted constantly - luckily it can be rebuilt easily. One of those other two, the .opt or .plg store the workspace folders you create, so deleting them deletes the folders (everything shows up in the root of the workspace again).

• ### Forum Statistics

• Total Topics
628372
• Total Posts
2982304

• 10
• 9
• 13
• 24
• 11