Ctrl+' (撇号)重构!当记事本++ 时绑定不起作用是开放的吗?
这是一个非常奇怪的问题,已经困扰我一段时间了,我在家里和工作中使用 CodeRush 和 Refactor Pro,自从切换到 Visual Studio 2010 以来,我一直无法使用键盘快捷键 (Ctrl+') 进行 Refactor /CodeRush 上下文菜单:
很长一段时间我都指责 VS2010 或 CodeRush/Refactor!专业人士解决了这个问题,只是用鼠标解决了它。在某个时候,我意识到如果 Notepad++ 打开,快捷键将不起作用。
根据 Notepad++ 中加载的文件类型改变效果;例如,如果我有一个 XML/HTML/XAML 文件,打开一个标记,它的所有子项都会被删除。
This is a really odd one that has been annoying me for some time, I use CodeRush and Refactor Pro at home and at work, since the switch to Visual Studio 2010 I have been unable to use the keyboard shortcut (Ctrl+') for the Refactor/CodeRush context menu:
For a long time I blamed VS2010 or CodeRush/Refactor! Pro for the issue and just worked round it with the mouse. At some point in time I realised that if Notepad++ was open the shortcut key didn't work.
Depending on what type of file is loaded in Notepad++ alters the effect; for example, if I have an XML/HTML/XAML file open a tag and all of it's children are removed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚在 Visual Studio 2010、Windows 7 中尝试使用 Notepad++ v5.8.6 打开一些源文件和 IDETools 10.2.4,一切似乎都工作正常 - CTRL+' 快捷方式按预期工作。也许您可能想将 DevExpress\Options\IDE\Shortcuts 选项页面中的快捷方式更改为类似 CTRL+1 的内容。
I have just tried Notepad++ v5.8.6 with some source files opened and IDETools 10.2.4 in Visual Studio 2010, Windows 7 and everything seems to work fine - the CTRL+' shortcut works as expected. Probably you might want to change the shortcut to something similar like CTRL+1 in the DevExpress\Options\IDE\Shortcuts options page.