记录一些VS快捷键日志1

修改于2024/11/017 浏览综合
工欲善其事必先利其器,工具的熟练度在于细微的操作,须勤加练习,刻意练习,使之成为肌肉记忆
下载Visual Commander新增两个快捷方式,MoveUp6和MoveDown6,代码如下,再删改冲突的快捷键就可以了
MoveUp6代码:
Imports EnvDTE
Imports EnvDTE80
Imports Microsoft.VisualBasic
Public Class C
Implements VisualCommanderExt.ICommand
Sub Run(DTE As EnvDTE80.DTE2, package As Microsoft.VisualStudio.Shell.Package) Implements VisualCommanderExt.ICommand.Run
DTE.ExecuteCommand("Edit.LineUp")
DTE.ExecuteCommand("Edit.LineUp")
DTE.ExecuteCommand("Edit.LineUp")
DTE.ExecuteCommand("Edit.LineUp")
DTE.ExecuteCommand("Edit.LineUp")
DTE.ExecuteCommand("Edit.LineUp")
End Sub
End Class
MoveDown6代码:
Imports EnvDTE
Imports EnvDTE80
Imports Microsoft.VisualBasic
Public Class C
Implements VisualCommanderExt.ICommand
Sub Run(DTE As EnvDTE80.DTE2, package As Microsoft.VisualStudio.Shell.Package) Implements VisualCommanderExt.ICommand.Run
DTE.ExecuteCommand("Edit.LineDown")
DTE.ExecuteCommand("Edit.LineDown")
DTE.ExecuteCommand("Edit.LineDown")
DTE.ExecuteCommand("Edit.LineDown")
DTE.ExecuteCommand("Edit.LineDown")
DTE.ExecuteCommand("Edit.LineDown")
End Sub
End Class
TapTap
TapTap
TapTap
TapTap
TapTap
TapTap