Is there any Plugin to disable “Auto ID on Paste”

2019-08-10 02:31发布

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)

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?

1条回答
别忘想泡老子
2楼-- · 2019-08-10 03:38

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")
查看更多
登录 后发表回答