VS 2008 Intellisense missing: the key combination is bound to command which is not currently available

烈酒焚心 提交于 2019-12-30 18:26:09

问题


Intellisense has stopped working for my aspx files, and I've looked at the other questions that address the issue with no solution.

When I try to format the aspx document (Ctrl-K, Ctrl-D) the status bar says "The key combination is bound to command (Format Document) which is not currently available."

The outlining is no longer showing up.

I have tried the /ResetSettings flag. I'm not using resharper. I've verified the settings (Tools -> Options, Text Editor) for both C#, Basic, and HTML as well as general.

How can I get this back?


回答1:


I managed to fix this by switching to design mode and then clicking on the Source.

Strangely, I had to right-click to select design view, since the design/split/source options at the bottom of the window were not present.

Once I switched to design view, the buttons came back, and when I switched back to source view everything seems to work again.

Strange.



来源:https://stackoverflow.com/questions/4327844/vs-2008-intellisense-missing-the-key-combination-is-bound-to-command-which-is-n

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