您好,登錄后才能下訂單哦!
本文主要給大家介紹中文版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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。