温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

中文版VisualStudio中Resharper快捷键的使用方法

发布时间:2020-05-23 17:02:04 来源:网络 阅读:901 作者:三月 栏目:编程语言

本文主要给大家介绍中文版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>

 

&#43;Up Arrow
 &#43;上箭头

 

&#43;Down Arrow
 &#43;下箭头

 

&#43;Left Arrow
 &#43;左箭头

 

&#43;Right Arrow
 &#43;右箭头

 

&#43;PgUp
 &#43;Page Up

 

&#43;PgDn
 &#43;Page Down

 

&#43;Space
 &#43;空&#26684;键

 

&#43;Bkspce
 &#43;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&#43;Shift&#43;R</Shortcut>
 <RemoveShortcut Command="Tools.RecordTemporaryMacro" Scope="全局">Ctrl&#43;Shift&#43;R</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_RefactorThis" Scope="全局">Ctrl&#43;Shift&#43;R</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Rename" Scope="文本编辑器">Ctrl&#43;R, R</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Rename" Scope="全局">Ctrl&#43;R, R</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Rename" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;R</Shortcut>
 <RemoveShortcut Command="Refactor.Rename" Scope="全局">Ctrl&#43;R, Ctrl&#43;R</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_Rename" Scope="全局">Ctrl&#43;R, Ctrl&#43;R</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Move" Scope="文本编辑器">Ctrl&#43;R, O</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Move" Scope="全局">Ctrl&#43;R, O</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Move" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;O</Shortcut>
 <RemoveShortcut Command="Refactor.ReorderParameters" Scope="全局">Ctrl&#43;R, Ctrl&#43;O</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_Move" Scope="全局">Ctrl&#43;R, Ctrl&#43;O</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Ctrl&#43;R, D</Shortcut>
 <RemoveShortcut Command="TestResults.RunAllTestsInTestResults" Scope="全局">Ctrl&#43;R, D</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Ctrl&#43;R, D</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;D</Shortcut>
 <RemoveShortcut Command="TestResults.DebugAllTestsInTestResults" Scope="全局">Ctrl&#43;R, Ctrl&#43;D</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Ctrl&#43;R, Ctrl&#43;D</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="文本编辑器">Alt&#43;Delete</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SafeDelete" Scope="全局">Alt&#43;Delete</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExtractMethod" Scope="文本编辑器">Ctrl&#43;R, M</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExtractMethod" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;M</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroduceVariable" Scope="文本编辑器">Ctrl&#43;R, V</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroduceVariable" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;V</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroduceField" Scope="文本编辑器">Ctrl&#43;R, F</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroduceField" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;F</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroParameter" Scope="文本编辑器">Ctrl&#43;R, P</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_IntroParameter" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;P</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_InlineVariable" Scope="文本编辑器">Ctrl&#43;R, I</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_InlineVariable" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;I</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="文本编辑器">Ctrl&#43;R, E</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="全局">Ctrl&#43;R, E</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;E</Shortcut>
 <RemoveShortcut Command="Refactor.EncapsulateField" Scope="全局">Ctrl&#43;R, Ctrl&#43;E</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_EncapsulateField" Scope="全局">Ctrl&#43;R, Ctrl&#43;E</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="文本编辑器">Ctrl&#43;R, S</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="全局">Ctrl&#43;R, S</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="文本编辑器">Ctrl&#43;R, Ctrl&#43;S</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ChangeSignature" Scope="全局">Ctrl&#43;R, Ctrl&#43;S</Shortcut>
 <RemoveShortcut Command="Edit.LineOpenAbove" Scope="文本编辑器">Ctrl&#43;Enter</RemoveShortcut>
 <Shortcut Command="ReSharper_ForceCompleteItem" Scope="文本编辑器">Ctrl&#43;Enter</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowFindResults" Scope="文本编辑器">Ctrl&#43;Alt&#43;F12</Shortcut>
 <RemoveShortcut Command="View.FindSymbolResults" Scope="全局">Ctrl&#43;Alt&#43;F12</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowFindResults" Scope="全局">Ctrl&#43;Alt&#43;F12</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowTypeHierarchy" Scope="文本编辑器">Ctrl&#43;Alt&#43;H</Shortcut>
 <RemoveShortcut Command="Debug.Threads" Scope="全局">Ctrl&#43;Alt&#43;H</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowTypeHierarchy" Scope="全局">Ctrl&#43;Alt&#43;H</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowCodeStructure" Scope="文本编辑器">Ctrl&#43;Alt&#43;F</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowCodeStructure" Scope="全局">Ctrl&#43;Alt&#43;F</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowTodoExplorer" Scope="文本编辑器">Ctrl&#43;Alt&#43;D</Shortcut>
 <RemoveShortcut Command="Debug.Disassembly" Scope="全局">Ctrl&#43;Alt&#43;D</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowTodoExplorer" Scope="全局">Ctrl&#43;Alt&#43;D</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowUnitTestExplorer" Scope="文本编辑器">Ctrl&#43;Alt&#43;U</Shortcut>
 <RemoveShortcut Command="Debug.Modules" Scope="全局">Ctrl&#43;Alt&#43;U</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowUnitTestExplorer" Scope="全局">Ctrl&#43;Alt&#43;U</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowUnitTestSessions" Scope="文本编辑器">Ctrl&#43;Alt&#43;T</Shortcut>
 <RemoveShortcut Command="View.DocumentOutline" Scope="全局">Ctrl&#43;Alt&#43;T</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_ShowUnitTestSessions" Scope="全局">Ctrl&#43;Alt&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_FindUsagesAdvanced" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;F12</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_FindUsagesAdvanced" Scope="全局">Ctrl&#43;Shift&#43;Alt&#43;F12</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_HighlightUsages" Scope="文本编辑器">Shift&#43;Alt&#43;F11</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_HighlightUsages" Scope="全局">Shift&#43;Alt&#43;F11</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPreviousOccurence" Scope="文本编辑器">Ctrl&#43;Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPreviousOccurence" Scope="全局">Ctrl&#43;Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextOccurence" Scope="文本编辑器">Ctrl&#43;Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextOccurence" Scope="全局">Ctrl&#43;Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_LocateInSolutionExplorerAction" Scope="文本编辑器">Shift&#43;Alt&#43;L</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_LocateInSolutionExplorerAction" Scope="全局">Shift&#43;Alt&#43;L</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoRecentFiles" Scope="文本编辑器">Ctrl&#43;,</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoRecentFiles" Scope="全局">Ctrl&#43;,</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoRecentEdits" Scope="文本编辑器">Ctrl&#43;Shift&#43;,</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoRecentEdits" Scope="全局">Ctrl&#43;Shift&#43;,</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="文本编辑器">Ctrl&#43;E, H</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="全局">Ctrl&#43;E, H</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;H</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_TypeHierarchy_Browse" Scope="全局">Ctrl&#43;E, Ctrl&#43;H</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CompleteCodeTypeName" Scope="文本编辑器">Shift&#43;Alt&#43;空&#26684;键</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CompleteCodeSmart" Scope="文本编辑器">Ctrl&#43;Alt&#43;空&#26684;键</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_LiveTemplates_Insert" Scope="文本编辑器">Ctrl&#43;E, L</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_LiveTemplates_Insert" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;L</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SurroundWith" Scope="文本编辑器">Ctrl&#43;E, U</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_SurroundWith" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;U</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Generate" Scope="文本编辑器">Alt&#43;Insert</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_Generate" Scope="全局">Alt&#43;Insert</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_MoveUp" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;上箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_MoveDown" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;下箭头</Shortcut>
 <RemoveShortcut Command="Edit.WordPreviousExtendColumn" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;左箭头</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_MoveLeft" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;左箭头</Shortcut>
 <RemoveShortcut Command="Edit.WordNextExtendColumn" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;右箭头</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_MoveRight" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;右箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExtendSelection" Scope="文本编辑器">Ctrl&#43;Alt&#43;右箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ShrinkSelection" Scope="文本编辑器">Ctrl&#43;Alt&#43;左箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_DuplicateText" Scope="文本编辑器">Ctrl&#43;D</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_LineComment" Scope="文本编辑器">Ctrl&#43;Alt&#43;/</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_BlockComment" Scope="文本编辑器">Ctrl&#43;Shift&#43;/</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;C</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="全局">Ctrl&#43;E, Ctrl&#43;C</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="文本编辑器">Ctrl&#43;E, C</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_CleanupCode" Scope="全局">Ctrl&#43;E, C</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_QuickDoc" Scope="文本编辑器">Ctrl&#43;Shift&#43;F1</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_QuickDoc" Scope="全局">Ctrl&#43;Shift&#43;F1</Shortcut>
 <RemoveShortcut Command="Edit.CharTranspose" Scope="文本编辑器">Ctrl&#43;T</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoType" Scope="文本编辑器">Ctrl&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoType" Scope="全局">Ctrl&#43;T</Shortcut>
 <RemoveShortcut Command="Edit.WordTranspose" Scope="文本编辑器">Ctrl&#43;Shift&#43;T</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoFile" Scope="文本编辑器">Ctrl&#43;Shift&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoFile" Scope="全局">Ctrl&#43;Shift&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoFileMember" Scope="文本编辑器">Alt&#43;\</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoFileMember" Scope="全局">Alt&#43;\</Shortcut>
 <RemoveShortcut Command="Edit.LineTranspose" Scope="文本编辑器">Shift&#43;Alt&#43;T</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoSymbol" Scope="文本编辑器">Shift&#43;Alt&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoSymbol" Scope="全局">Shift&#43;Alt&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_NavigateFromHere" Scope="文本编辑器">Alt&#43;`</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_NavigateFromHere" Scope="全局">Alt&#43;`</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoTypeDeclaration" Scope="文本编辑器">Ctrl&#43;Shift&#43;F11</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoTypeDeclaration" Scope="全局">Ctrl&#43;Shift&#43;F11</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoBase" Scope="文本编辑器">Alt&#43;Home</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoBase" Scope="全局">Alt&#43;Home</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoInheritors" Scope="文本编辑器">Alt&#43;End</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoInheritors" Scope="全局">Alt&#43;End</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoUsage" Scope="文本编辑器">Shift&#43;Alt&#43;F12</Shortcut>
 <RemoveShortcut Command="Edit.QuickFindSymbol" Scope="全局">Shift&#43;Alt&#43;F12</RemoveShortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoUsage" Scope="全局">Shift&#43;Alt&#43;F12</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextMethod" Scope="文本编辑器">Alt&#43;下箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextMethod" Scope="全局">Alt&#43;下箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevMethod" Scope="文本编辑器">Alt&#43;上箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevMethod" Scope="全局">Alt&#43;上箭头</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoContainingDeclaration" Scope="文本编辑器">Ctrl&#43;[</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoContainingDeclaration" Scope="全局">Ctrl&#43;[</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextHighlight" Scope="文本编辑器">Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextHighlight" Scope="全局">Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevHighlight" Scope="文本编辑器">Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevHighlight" Scope="全局">Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextErrorInSolution" Scope="文本编辑器">Shift&#43;Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoNextErrorInSolution" Scope="全局">Shift&#43;Alt&#43;Page Down</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevErrorInSolution" Scope="文本编辑器">Shift&#43;Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoPrevErrorInSolution" Scope="全局">Shift&#43;Alt&#43;Page Up</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoLastEditLocation" Scope="文本编辑器">Ctrl&#43;Shift&#43;Backsapce</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_GotoLastEditLocation" Scope="全局">Ctrl&#43;Shift&#43;Backsapce</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="文本编辑器">Ctrl&#43;E, T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="全局">Ctrl&#43;E, T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;T</Shortcut>
 <Shortcut Command="ReSharper.ReSharper_ExploreStackTrace" Scope="全局">Ctrl&#43;E, Ctrl&#43;T</Shortcut>
 <Shortcut Command="ReSharper_SilentCleanupCode" Scope="文本编辑器">Ctrl&#43;E, F</Shortcut>
 <Shortcut Command="ReSharper_SilentCleanupCode" Scope="全局">Ctrl&#43;E, F</Shortcut>
 <Shortcut Command="ReSharper_SilentCleanupCode" Scope="文本编辑器">Ctrl&#43;E, Ctrl&#43;F</Shortcut>
 <Shortcut Command="ReSharper_SilentCleanupCode" Scope="全局">Ctrl&#43;E, Ctrl&#43;F</Shortcut>
 <Shortcut Command="ReSharper_ParameterInfo_GoToPreviousSignature" Scope="文本编辑器">Ctrl&#43;Shift&#43;Alt&#43;空&#26684;键</Shortcut>
 <Shortcut Command="ReSharper_ParameterInfo_GoToPreviousSignature" Scope="全局">Ctrl&#43;Shift&#43;Alt&#43;空&#26684;键</Shortcut>
 <Shortcut Command="ReSharper_QuickFix" Scope="文本编辑器">Alt&#43;Enter</Shortcut>
 <Shortcut Command="ReSharper_WindowManager_CloseRecentTool" Scope="文本编辑器">Ctrl&#43;Shift&#43;F4</Shortcut>
 <Shortcut Command="ReSharper_WindowManager_CloseRecentTool" Scope="全局">Ctrl&#43;Shift&#43;F4</Shortcut>
 <Shortcut Command="ReSharper_WindowManager_ActivateRecentTool" Scope="文本编辑器">Ctrl&#43;Alt&#43;Backsapce</Shortcut>
 <Shortcut Command="ReSharper_WindowManager_ActivateRecentTool" Scope="全局">Ctrl&#43;Alt&#43;Backsapce</Shortcut>
 <Shortcut Command="ReSharper_EnableDaemon" Scope="文本编辑器">Ctrl&#43;8</Shortcut>
 <RemoveShortcut Command="Debug.LocationToolbar.ToggleCurrentThreadFlaggedState" Scope="全局">Ctrl&#43;8</RemoveShortcut>
 <Shortcut Command="ReSharper_EnableDaemon" Scope="全局">Ctrl&#43;8</Shortcut>
  
 最终的结果如下:
 <UserShortcuts>
 <RemoveShortcut Command="Edit.WordPreviousExtend" Scope="文本编辑器">Ctrl&#43;Shift&#43;左箭头</RemoveShortcut>
 <Shortcut Command="ReSharper_ErrorsView_IgnoreErrors" Scope="ReSharper Errors in Solution Window">Delete</Shortcut>
 ...
 </UserShortcuts>

 

现在,可以在中文版Visual Studio中使用 Resharper 的快捷键了。

看完以上关于中文版VisualStudio中Resharper快捷键的使用方法,很多读者朋友肯定多少有一定的了解,如需获取更多的行业知识信息 ,可以持续关注我们的行业资讯栏目的。

 

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI