10
votes

Since I installed VS2015 Professional, VS's IntelliSense function Edit.CompleteWord seems not to work anymore.

So, if I have some unfinished code like Math.Rou (which should be Math.Round();) and put the cursor on it and press CTRL+Space, Visual Studio will not complete the word anymore.

Some facts which might prevent some additional comments:

  • it worked on my machine with VS2012 & VS2013 before I installed VS2015
  • the feature is now disabled on VS2012 and VS2013 as well
  • a colleague of mine has excatly the same issues since he installed VS2015
  • another colleague did not install VS2015 yet and his older VS-versions are still able to do the auto-complete.
  • the function is disabled for C# and VB.NET (I did not test any other languages)
  • it is no shortcut problem. Invoking this function from the main menu won't work as well (the shortcut is pretty weird as well but doesn't work either)

enter image description here


EDIT: I opened an issue for this bug on Microsoft Connect:

Please give it a vote to get it reviewed by Microsoft.

3
I encounter that problem occasionally in VS2012 - not sure if it what you are encountering (I don't have VS2015 installed) - but have you tried shutting down all instances of Visual Studio and then re-opening the project?Ulric
It is not occasionally - it does simply not work anymore. Not one single time since I installed VS2015.Waescher
Have you checked Tools->Options->Text Editor->C#->Intellisense ?Glen Thomas
Yes, I did after I encountered the problem the first time. Everything looking fine.Waescher
I don't know about putting the "();" of the Math.Round example, but to complete the word I've only known to use the Tab key.Scott McClenning

3 Answers

8
votes

1.) Check that the shortcut is still assigned, ctrl + Q and then type keyboard

enter image description here

then filter to Edit.CompleteWord and make sure that ctrl + space is still in the list of short cuts under editor

enter image description here

if it isn't in the list then go to the Press shortcut keys field and press ctrl + space and then Assign

If it is in the list then go to the Press shortcut keys field and press ctrl + space and then check in the Shortcut currently used by list

enter image description here

there is a chance that the shortcut is being used by another command and you can then filter to that command and remove the shortcut to allow the Edit.CompleteWord to work again with the shortcut

If this all fails, export all settings (to make sure you have them) and reset all your settings to the defaults to see if it works. You can then use something like Beyond Compare to try spot what the differences are between your settings to make it work with your previous settings.

5
votes

Ok guys, time to face the bitter truth: It seems just to be a problem with an extension I installed weeks ago:

By disabling this extension, Intellisense came back to life.

I'm sorry about this confusion, thanks for your help!

3
votes

For me, all I had to do was close the solution and re-open it - this was for an existing older VS solution that I had opened for the first time in VS 2015 Community.

I tried reassigning keys but this did nothing.