Ctrl+Space changes keyboard instead of showing Intellisense's Auto-complete list on Visual Studio 2010

≯℡__Kan透↙ 提交于 2019-12-01 05:18:20

If anyone else is wondering, just press Alt+Shift and it will change the keyboard language. I guess I often pressed this key-combo and did't know what was happening.

Kahn

Returning to this topic as I had the same problem. Namely, Ctrl+space did NOT fire intellisense or autocomplete, but instead just permanently changed the keyboard layout that couldn't be changed back again unless I restarted VS2010. Tried quite a few solutions myself without results.

I finally got it working by erasing all other language settings from Windows save for Finnish. Then restarted VS2010 and voilá, haven't seen the problem since.

Changing keyboard language priority to Finnish in Windows didn't help, I had to delete all the other installed language settings. Also, changing the settings from VS2010 to use Windows settings for keyboard layout didn't help at all either.

And the problem was never the wrong shortcut, Ctrl+space was always mapped for intellisense / autocomplete.

i used to have this problem what i simply did is

control panel -> region and language ->(you will get a new popup window)keyboards and languages tab -> change keyboards button -> (again new pop-up window)General tab -> in the installed services->remove all the languages except your own language -> save

done now intellisense will work since no more keyboard layout is found

Hope this helped someone :)

[Edit] What I was checking was Tools->Options->Keyboard, thinking someone accidentally remapped to an earlier version but after some checking, Ctrl-Space was always Complete Word going back to VB6 so I doubt that was it.

Still, it should say 'Default' in there. You could always try resetting it as well but I don't think it's going to be your solution.

Nils Lande

Reboot was required

This is one of the absolutely most annoying problems you can come across in Visual Studio 2010.

Every time I hit the key combination Ctrl+Space VS 2010 would change the keyboard layout. It changed from Norwegian to English. The change is only inside Visual Studio, the Language Bar still shows Norwegian. I had Norwegian and English keyboards installed. Norwegian first, that's what I use.

The only thing that was able to reset the keyboard was a restart of Visual Studio. But the next time I hit Ctrl+Space to get AutoCompletion the layout changed again. It only affects Visual Studio.

I tried the following:

  1. Checked key-mappings for switching keyboard layout. I had cleared those long ago.

  2. Deleted the English keyboard (only the Norwegian one left).

  3. Tried changing the Language under Tools - Options - International Settings.

  4. Deleted the .suo file.

  5. Deleted the .sdf file (since the problem was related to IntelliSense)

  6. I also tried every imaginable keyboard combination (many suggested in different forums), but none of them worked.

In between all of these I restarted Visual Studio, but to no avail.

The problem only went away when I restarted my computer. I suspect that deleting the English keyboard did the trick, but that a reboot is required.

I am on Windows 7. My solution contains C# class libraries as well as C++/CLI class libraries.

Yuriy

The problematic component can be Microsoft Pinyin. I got it as a part of Microsoft Office Proofing Tools. From time time it starts stealing Ctrl+Space and switching keyboard layout to Simplified Chinese/Korean etc.

It can be removed from add/remove programs -> Microsoft Office Proofing Tools -> Change...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!