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

前端 未结 6 424
孤独总比滥情好
孤独总比滥情好 2021-01-12 16:03

I noticed that unexpectedly Visual Studio 2010 changed the keyboard layout.I tried some solutions like:

- Going to Windows\' Control Panel and removing other         


        
6条回答
  •  耶瑟儿~
    2021-01-12 16:36

    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.

提交回复
热议问题