更新时间:2022-12-22 09:04:14
要自动化选项对话框,您可以在 Visual Commander 并为其分配键盘快捷键:
To automate the Options dialog, you can create the following command in Visual Commander and assign a keyboard shortcut to it:
DTE.ExecuteCommand("EditorContextMenus.CodeLens.CodeLensOptions")
System.Windows.Forms.SendKeys.Send("{TAB} {ENTER}")