简体   繁体   中英

Word Completion C# VS2010

I am having some issues with word completion in VS2010 running in windows 7. I have no word completion in C#, programming a web application.

The word completion works fine in html, but in code behind i need to use (alt + right) to see the completion options. Already checked the preferences and is all okay, also tried ctrl + alt + spacebar. No results.

Anyone know why is this happening?

Problem solved.

It wasn't active by default, but under Tools/Options/Text Editor/C#/General. Auto list members wasn't active...

Thanks for the answers!

Does it happen only to your code or to any C# code? Try to crate a new empty C# project and see if it works. If it does not you can try to run VS from a command line with /resetsettings switch - this will reset all VS settings back to defaults. If it is still a no go you can try to re-install it

Intellisense has many different items that cause the completion to not be available. I would attempt the following checks in descending order:

  1. Are these any syntax errors occurring before the line(s) in question?
  2. Has the required information been provided for that method/property/etc. been provided for that item? Mainly applies to custom developed code.
  3. Do you have any 3rd party controls installed that may be doing something fancy for completion purposes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM