本文主要给大家介绍中文版VisualStudio中Resharper快捷键的使用方法,文章内容都是笔者用心摘选和编辑的,具有一定的针对性,对大家的参考意义还是比较大的,下面跟笔者一起了解下中文版VisualStudio中Resharper快捷键的使用方法吧。
在非英文版的Visual Studio中安装Resharper以后会出现如下提示:
---------------------------
ReSharper
---------------------------
Some keyboard shortcuts could not be assigned because the current keyboard scheme is read only.
Change the keyboard scheme and try again.
---------------------------
确定
---------------------------
打开Visual Studio -- Resharper -- Options -- General -- Restore Resharper keyboard shortcuts ,点击 Apply ,也同样出现上述提示框。那么可以确定,是当 Resharper 修改 Visual Studio 的快捷键映射表的时候发生错误。
快捷键的映射表包含在 Visual Studio 的用户设置文件 %USERPROFILE%\My Documents\Visual Studio 2008\Settings\CurrentSettings.vssettings 中。它是一个xml文档,默认是没有排版的。我们可以将它复制一份,更名为xml后缀,用ie或者xmlspy等工具打开,对它进行排版,以便查看和后续操作。
通过比较中文版和英文版的设置文件,在以下(xpath)路径中,我们可以找到一些不同之处:
/UserSettings/Category[@name="Environment_Group"]/Category[@name="Environment_KeyBindings"]/KeyboardShortcuts
中文版的vssettings的<UserShortcuts/>节中,少了不少条目,经过手工设置快捷键( Visual Studio -- 工具 -- 选项 -- 环境 -- 键盘)并对vssettings进行diff比较,发现中英文版的一些关键字不同,例如英文版为 Scope="Global" ,中文版为 Scope="全局" ;英文版为 Up Arrow ,中文版为上箭头。由此可以推断,Resharper在进行检索的时候仅仅按英文进行检索,故找不到一些特定的关键字。
这里批评一下微软,对于这类非展现给用户查看的元数据,不应进行本地化。否则第三方程序进行索引的时候会遇到困难。特别需要本地化的场合,也应做一个映射表。
经过整理,我总结出中英文版本vssettings文件<UserShortcuts/>节中的不同之处。用户可以手工把<UserShortcuts/>节截取出来,进行字符串替换。将英文版的关键字替换成中文版的关键字。
以下每一条第一行为英文版,第二行为中文版。
Scope="Global"
Scope="全局"
Scope="Text Editor"
Scope="文本编辑器"
Del</Shortcut>
Delete</Shortcut>
Ins</Shortcut>
Insert</Shortcut>
+Up Arrow
+上箭头
+Down Arrow
+下箭头
+Left Arrow
+左箭头
+Right Arrow
+右箭头
+PgUp
+Page Up
+PgDn
+Page Down
+Space
+空格键
+Bkspce
+Backsapce
*** 为了方便读者,贴出整理后与Resharper有关的快捷键映射,请定位到<UserShortcuts/>节的尾部,删除包含Resharper的两个<Shortcut/>,并添加以下内容 ***
<Shortcut Command="ReSharper_ErrorsView_IgnoreErrors" Scope="ReSharper Errors in Solution Window">Delete</Shortcut>
<Shortcut Command="ReSharper_ErrorsView_UnignoreErrors" Scope="ReSharper Errors in Solution Window">Insert</Shortcut>
<Shortcut Command="ReSharper.ReSharper_RefactorThis" Scope="文本编辑器">Ctrl+Shift+R</Shortcut>
<RemoveShortcut Command="Tools.RecordTemporaryMacro" Scope="全局">Ctrl+Shift+R</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_RefactorThis" Scope="全局">Ctrl+Shift+R</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Rename" Scope="文本编辑器">Ctrl+R, R</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Rename" Scope="全局">Ctrl+R, R</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Rename" Scope="文本编辑器">Ctrl+R, Ctrl+R</Shortcut>
<RemoveShortcut Command="Refactor.Rename" Scope="全局">Ctrl+R, Ctrl+R</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_Rename" Scope="全局">Ctrl+R, Ctrl+R</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Move" Scope="文本编辑器">Ctrl+R, O</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Move" Scope="全局">Ctrl+R, O</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Move" Scope="文本编辑器">Ctrl+R, Ctrl+O</Shortcut>
<RemoveShortcut Command="Refactor.ReorderParameters" Scope="全局">Ctrl+R, Ctrl+O</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_Move" Scope="全局">Ctrl+R, Ctrl+O</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Ctrl+R, D</Shortcut>
<RemoveShortcut Command="TestResults.RunAllTestsInTestResults" Scope="全局">Ctrl+R, D</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Ctrl+R, D</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Ctrl+R, Ctrl+D</Shortcut>
<RemoveShortcut Command="TestResults.DebugAllTestsInTestResults" Scope="全局">Ctrl+R, Ctrl+D</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Ctrl+R, Ctrl+D</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Alt+Delete</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Alt+Delete</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExtractMethod" Scope="文本编辑器">Ctrl+R, M</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExtractMethod" Scope="文本编辑器">Ctrl+R, Ctrl+M</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroduceVariable" Scope="文本编辑器">Ctrl+R, V</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroduceVariable" Scope="文本编辑器">Ctrl+R, Ctrl+V</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroduceField" Scope="文本编辑器">Ctrl+R, F</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroduceField" Scope="文本编辑器">Ctrl+R, Ctrl+F</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroParameter" Scope="文本编辑器">Ctrl+R, P</Shortcut>
<Shortcut Command="ReSharper.ReSharper_IntroParameter" Scope="文本编辑器">Ctrl+R, Ctrl+P</Shortcut>
<Shortcut Command="ReSharper.ReSharper_InlineVariable" Scope="文本编辑器">Ctrl+R, I</Shortcut>
<Shortcut Command="ReSharper.ReSharper_InlineVariable" Scope="文本编辑器">Ctrl+R, Ctrl+I</Shortcut>
<Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="文本编辑器">Ctrl+R, E</Shortcut>
<Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="全局">Ctrl+R, E</Shortcut>
<Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="文本编辑器">Ctrl+R, Ctrl+E</Shortcut>
<RemoveShortcut Command="Refactor.EncapsulateField" Scope="全局">Ctrl+R, Ctrl+E</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="全局">Ctrl+R, Ctrl+E</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="文本编辑器">Ctrl+R, S</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="全局">Ctrl+R, S</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="文本编辑器">Ctrl+R, Ctrl+S</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="全局">Ctrl+R, Ctrl+S</Shortcut>
<RemoveShortcut Command="Edit.LineOpenAbove" Scope="文本编辑器">Ctrl+Enter</RemoveShortcut>
<Shortcut Command="ReSharper_ForceCompleteItem" Scope="文本编辑器">Ctrl+Enter</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowFindResults" Scope="文本编辑器">Ctrl+Alt+F12</Shortcut>
<RemoveShortcut Command="View.FindSymbolResults" Scope="全局">Ctrl+Alt+F12</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_ShowFindResults" Scope="全局">Ctrl+Alt+F12</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowTypeHierarchy" Scope="文本编辑器">Ctrl+Alt+H</Shortcut>
<RemoveShortcut Command="Debug.Threads" Scope="全局">Ctrl+Alt+H</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_ShowTypeHierarchy" Scope="全局">Ctrl+Alt+H</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowCodeStructure" Scope="文本编辑器">Ctrl+Alt+F</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowCodeStructure" Scope="全局">Ctrl+Alt+F</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowTodoExplorer" Scope="文本编辑器">Ctrl+Alt+D</Shortcut>
<RemoveShortcut Command="Debug.Disassembly" Scope="全局">Ctrl+Alt+D</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_ShowTodoExplorer" Scope="全局">Ctrl+Alt+D</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowUnitTestExplorer" Scope="文本编辑器">Ctrl+Alt+U</Shortcut>
<RemoveShortcut Command="Debug.Modules" Scope="全局">Ctrl+Alt+U</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_ShowUnitTestExplorer" Scope="全局">Ctrl+Alt+U</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShowUnitTestSessions" Scope="文本编辑器">Ctrl+Alt+T</Shortcut>
<RemoveShortcut Command="View.DocumentOutline" Scope="全局">Ctrl+Alt+T</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_ShowUnitTestSessions" Scope="全局">Ctrl+Alt+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_FindUsagesAdvanced" Scope="文本编辑器">Ctrl+Shift+Alt+F12</Shortcut>
<Shortcut Command="ReSharper.ReSharper_FindUsagesAdvanced" Scope="全局">Ctrl+Shift+Alt+F12</Shortcut>
<Shortcut Command="ReSharper.ReSharper_HighlightUsages" Scope="文本编辑器">Shift+Alt+F11</Shortcut>
<Shortcut Command="ReSharper.ReSharper_HighlightUsages" Scope="全局">Shift+Alt+F11</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPreviousOccurence" Scope="文本编辑器">Ctrl+Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPreviousOccurence" Scope="全局">Ctrl+Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextOccurence" Scope="文本编辑器">Ctrl+Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextOccurence" Scope="全局">Ctrl+Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_LocateInSolutionExplorerAction" Scope="文本编辑器">Shift+Alt+L</Shortcut>
<Shortcut Command="ReSharper.ReSharper_LocateInSolutionExplorerAction" Scope="全局">Shift+Alt+L</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoRecentFiles" Scope="文本编辑器">Ctrl+,</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoRecentFiles" Scope="全局">Ctrl+,</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoRecentEdits" Scope="文本编辑器">Ctrl+Shift+,</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoRecentEdits" Scope="全局">Ctrl+Shift+,</Shortcut>
<Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="文本编辑器">Ctrl+E, H</Shortcut>
<Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="全局">Ctrl+E, H</Shortcut>
<Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="文本编辑器">Ctrl+E, Ctrl+H</Shortcut>
<Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="全局">Ctrl+E, Ctrl+H</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CompleteCodeTypeName" Scope="文本编辑器">Shift+Alt+空格键</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CompleteCodeSmart" Scope="文本编辑器">Ctrl+Alt+空格键</Shortcut>
<Shortcut Command="ReSharper.ReSharper_LiveTemplates_Insert" Scope="文本编辑器">Ctrl+E, L</Shortcut>
<Shortcut Command="ReSharper.ReSharper_LiveTemplates_Insert" Scope="文本编辑器">Ctrl+E, Ctrl+L</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SurroundWith" Scope="文本编辑器">Ctrl+E, U</Shortcut>
<Shortcut Command="ReSharper.ReSharper_SurroundWith" Scope="文本编辑器">Ctrl+E, Ctrl+U</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Generate" Scope="文本编辑器">Alt+Insert</Shortcut>
<Shortcut Command="ReSharper.ReSharper_Generate" Scope="全局">Alt+Insert</Shortcut>
<Shortcut Command="ReSharper.ReSharper_MoveUp" Scope="文本编辑器">Ctrl+Shift+Alt+上箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_MoveDown" Scope="文本编辑器">Ctrl+Shift+Alt+下箭头</Shortcut>
<RemoveShortcut Command="Edit.WordPreviousExtendColumn" Scope="文本编辑器">Ctrl+Shift+Alt+左箭头</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_MoveLeft" Scope="文本编辑器">Ctrl+Shift+Alt+左箭头</Shortcut>
<RemoveShortcut Command="Edit.WordNextExtendColumn" Scope="文本编辑器">Ctrl+Shift+Alt+右箭头</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_MoveRight" Scope="文本编辑器">Ctrl+Shift+Alt+右箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExtendSelection" Scope="文本编辑器">Ctrl+Alt+右箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ShrinkSelection" Scope="文本编辑器">Ctrl+Alt+左箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_DuplicateText" Scope="文本编辑器">Ctrl+D</Shortcut>
<Shortcut Command="ReSharper.ReSharper_LineComment" Scope="文本编辑器">Ctrl+Alt+/</Shortcut>
<Shortcut Command="ReSharper.ReSharper_BlockComment" Scope="文本编辑器">Ctrl+Shift+/</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="文本编辑器">Ctrl+E, Ctrl+C</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="全局">Ctrl+E, Ctrl+C</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="文本编辑器">Ctrl+E, C</Shortcut>
<Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="全局">Ctrl+E, C</Shortcut>
<Shortcut Command="ReSharper.ReSharper_QuickDoc" Scope="文本编辑器">Ctrl+Shift+F1</Shortcut>
<Shortcut Command="ReSharper.ReSharper_QuickDoc" Scope="全局">Ctrl+Shift+F1</Shortcut>
<RemoveShortcut Command="Edit.CharTranspose" Scope="文本编辑器">Ctrl+T</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_GotoType" Scope="文本编辑器">Ctrl+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoType" Scope="全局">Ctrl+T</Shortcut>
<RemoveShortcut Command="Edit.WordTranspose" Scope="文本编辑器">Ctrl+Shift+T</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_GotoFile" Scope="文本编辑器">Ctrl+Shift+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoFile" Scope="全局">Ctrl+Shift+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoFileMember" Scope="文本编辑器">Alt+\</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoFileMember" Scope="全局">Alt+\</Shortcut>
<RemoveShortcut Command="Edit.LineTranspose" Scope="文本编辑器">Shift+Alt+T</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_GotoSymbol" Scope="文本编辑器">Shift+Alt+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoSymbol" Scope="全局">Shift+Alt+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_NavigateFromHere" Scope="文本编辑器">Alt+`</Shortcut>
<Shortcut Command="ReSharper.ReSharper_NavigateFromHere" Scope="全局">Alt+`</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoTypeDeclaration" Scope="文本编辑器">Ctrl+Shift+F11</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoTypeDeclaration" Scope="全局">Ctrl+Shift+F11</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoBase" Scope="文本编辑器">Alt+Home</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoBase" Scope="全局">Alt+Home</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoInheritors" Scope="文本编辑器">Alt+End</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoInheritors" Scope="全局">Alt+End</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoUsage" Scope="文本编辑器">Shift+Alt+F12</Shortcut>
<RemoveShortcut Command="Edit.QuickFindSymbol" Scope="全局">Shift+Alt+F12</RemoveShortcut>
<Shortcut Command="ReSharper.ReSharper_GotoUsage" Scope="全局">Shift+Alt+F12</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextMethod" Scope="文本编辑器">Alt+下箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextMethod" Scope="全局">Alt+下箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevMethod" Scope="文本编辑器">Alt+上箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevMethod" Scope="全局">Alt+上箭头</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoContainingDeclaration" Scope="文本编辑器">Ctrl+[</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoContainingDeclaration" Scope="全局">Ctrl+[</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextHighlight" Scope="文本编辑器">Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextHighlight" Scope="全局">Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevHighlight" Scope="文本编辑器">Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevHighlight" Scope="全局">Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextErrorInSolution" Scope="文本编辑器">Shift+Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoNextErrorInSolution" Scope="全局">Shift+Alt+Page Down</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevErrorInSolution" Scope="文本编辑器">Shift+Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoPrevErrorInSolution" Scope="全局">Shift+Alt+Page Up</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoLastEditLocation" Scope="文本编辑器">Ctrl+Shift+Backsapce</Shortcut>
<Shortcut Command="ReSharper.ReSharper_GotoLastEditLocation" Scope="全局">Ctrl+Shift+Backsapce</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="文本编辑器">Ctrl+E, T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="全局">Ctrl+E, T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="文本编辑器">Ctrl+E, Ctrl+T</Shortcut>
<Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="全局">Ctrl+E, Ctrl+T</Shortcut>
<Shortcut Command="ReSharper_SilentCleanupCode" Scope="文本编辑器">Ctrl+E, F</Shortcut>
<Shortcut Command="ReSharper_SilentCleanupCode" Scope="全局">Ctrl+E, F</Shortcut>
<Shortcut Command="ReSharper_SilentCleanupCode" Scope="文本编辑器">Ctrl+E, Ctrl+F</Shortcut>
<Shortcut Command="ReSharper_SilentCleanupCode" Scope="全局">Ctrl+E, Ctrl+F</Shortcut>
<Shortcut Command="ReSharper_ParameterInfo_GoToPreviousSignature" Scope="文本编辑器">Ctrl+Shift+Alt+空格键</Shortcut>
<Shortcut Command="ReSharper_ParameterInfo_GoToPreviousSignature" Scope="全局">Ctrl+Shift+Alt+空格键</Shortcut>
<Shortcut Command="ReSharper_QuickFix" Scope="文本编辑器">Alt+Enter</Shortcut>
<Shortcut Command="ReSharper_WindowManager_CloseRecentTool" Scope="文本编辑器">Ctrl+Shift+F4</Shortcut>
<Shortcut Command="ReSharper_WindowManager_CloseRecentTool" Scope="全局">Ctrl+Shift+F4</Shortcut>
<Shortcut Command="ReSharper_WindowManager_ActivateRecentTool" Scope="文本编辑器">Ctrl+Alt+Backsapce</Shortcut>
<Shortcut Command="ReSharper_WindowManager_ActivateRecentTool" Scope="全局">Ctrl+Alt+Backsapce</Shortcut>
<Shortcut Command="ReSharper_EnableDaemon" Scope="文本编辑器">Ctrl+8</Shortcut>
<RemoveShortcut Command="Debug.LocationToolbar.ToggleCurrentThreadFlaggedState" Scope="全局">Ctrl+8</RemoveShortcut>
<Shortcut Command="ReSharper_EnableDaemon" Scope="全局">Ctrl+8</Shortcut>
最终的结果如下:
<UserShortcuts>
<RemoveShortcut Command="Edit.WordPreviousExtend" Scope="文本编辑器">Ctrl+Shift+左箭头</RemoveShortcut>
<Shortcut Command="ReSharper_ErrorsView_IgnoreErrors" Scope="ReSharper Errors in Solution Window">Delete</Shortcut>
...
</UserShortcuts>
现在,可以在中文版Visual Studio中使用 Resharper 的快捷键了。
看完以上关于中文版VisualStudio中Resharper快捷键的使用方法,很多读者朋友肯定多少有一定的了解,如需获取更多的行业知识信息 ,可以持续关注我们的行业资讯栏目的。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。