Visual Stusio Extension中的快捷键不起作用 [英] Shortcut key isn't working in Visual Stusio Extension

查看:77
本文介绍了Visual Stusio Extension中的快捷键不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我写了一篇


请删除相关的默认快捷键,并检查它是否适合您。


https://msdn.microsoft.com/en-us/library/5zwses53.aspx < a href ="https://msdn.microsoft.com/en-us/library/da5kh0wa.aspx">


祝你好运,


Cole Wu


Hi,

I wrote a extension, it has a translate client like below

When knocking the code, I open this translation window and I want to translate some text I do not know, usually I will use some shortcut keys to cut (Ctrl + X), copy (Ctrl + C), paste (Ctrl + V ), All selected (Ctrl + A), but appeared when I use the shortcut keys on the text box, the text box does not respond to the shortcut keys are applied to the code edit box, some other keys are like the Enter key to delete key Wait

I want to  install keyboard hook to fix it, it was work on the textbox, but it same work on the code edit box too,

What wrong about it?

Thanks for Suggest!

解决方案

Hi Kerwin Zhang,

There are some default Keyboard Shortcuts in Visual Studio, which could conflict with your shortcut keys.

https://msdn.microsoft.com/en-us/library/da5kh0wa.aspx

Please remove related default shortcuts key and check if it works for you.

https://msdn.microsoft.com/en-us/library/5zwses53.aspx

Best regards,

Cole Wu


这篇关于Visual Stusio Extension中的快捷键不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆