是否有任何插件可以禁用“粘贴时自动识别"?在 Visual Studio 2013 上? [英] Is there any Plugin to disable "Auto ID on Paste" on Visual Studio 2013?
问题描述
我看到了关于自动 ID"的这个问题粘贴"工具在较新版本的 Visual Studio 上不可用,我知道当前正在使用的解决方法(注释一行、粘贴、撤消注释)
I saw This question about the "Auto ID on Paste" tool being unavailable on newer versions of Visual Studio, and I know about the workaround that is being currently used (comment a line, paste, undo comment)
但我对这些变通方法不满意,我认为如果我可以只安装一个插件会更容易,该插件允许我粘贴元素而不自动生成 ID.
But I'm not comfortable with those workarounds, I think it would be easier if I could just install one plugin that allows me to paste elements without generating IDs automatically.
有没有插件可以做到这一点?
Is there any plugin that does this?
推荐答案
要自动解决此问题,您可以在 Visual Commander 并为其分配键盘快捷键:
To automate the workaround, you can create the following command in Visual Commander and assign a keyboard shortcut to it:
DTE.ExecuteCommand("Edit.CommentSelection")
DTE.ExecuteCommand("Edit.Paste")
DTE.ExecuteCommand("Edit.UncommentSelection")
这篇关于是否有任何插件可以禁用“粘贴时自动识别"?在 Visual Studio 2013 上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!