The document summarizes keyboard shortcuts in Visual Studio for creating and editing code, analyzing and exploring code, refactoring and cleaning up code, finding code, navigating code, version control, mastering the IDE, and unit testing. Key shortcuts are provided to complete code, refactor code, search/find code, navigate/view code, commit/update code, open/close windows, and run/debug unit tests.
The document summarizes keyboard shortcuts in Visual Studio for creating and editing code, analyzing and exploring code, refactoring and cleaning up code, finding code, navigating code, version control, mastering the IDE, and unit testing. Key shortcuts are provided to complete code, refactor code, search/find code, navigate/view code, commit/update code, open/close windows, and run/debug unit tests.
The document summarizes keyboard shortcuts in Visual Studio for creating and editing code, analyzing and exploring code, refactoring and cleaning up code, finding code, navigating code, version control, mastering the IDE, and unit testing. Key shortcuts are provided to complete code, refactor code, search/find code, navigate/view code, commit/update code, open/close windows, and run/debug unit tests.
CREATE AND EDIT ANALYZE AND EXPLORE REFACTOR AND CLEAN UP
Show context actions Alt+Enter Inspect this Ctrl+Alt+Shift+A Refactor this Ctrl+Shift+R Basic code completion Ctrl+Space Show error description Ctrl+F1 Move Ctrl+R, O Smart code completion Ctrl+Alt+Space Next / Previous highlighted error Alt+PgDown / Alt+PgUp Safe delete Ctrl+R, D Type name completion Alt+Shift+Space Alt+Shift+PgDown / Rename Ctrl+R, R Next / Previous error in solution Complete statement Ctrl+Shift+Enter Alt+Shift+PgUp Change signature Ctrl+R, S Parameter information Ctrl+Shift+Space Toggle code inspection Ctrl+Alt+Shift+8 Inline Ctrl+R, I Quick definition Ctrl+Shift+I Run inspection by name Ctrl+Alt+Shift+I Extract method Ctrl+R, M Quick / External documentation Ctrl+Shift+F1 / Shift+F1 Type hierarchy Ctrl+E, H Introduce variable Ctrl+R, V Generate code Ctrl+N Call hierarchy Ctrl+Alt+H Introduce field Ctrl+R, F Override/implement members Ctrl+Shift+I Introduce constant Ctrl+Alt+C Comment with line / block comment Ctrl+Alt+/ / Ctrl+Shift+/ Introduce parameter Ctrl+R, P Ctrl+Alt+Right / Reformat code Ctrl+Alt+Enter Extend / Shrink selection FIND EVERYTHING Ctrl+Alt+Left Code cleanup / silent cleanup Ctrl+E, C / Ctrl+E, F Context Alt+Q Search everywhere Double Shift Optimize imports Ctrl+Alt+O Find / Replace Ctrl+F / Ctrl+H Auto-indent lines Ctrl+Alt+I Find / Replace in path Ctrl+Shift+F / Ctrl+Shift+H BUILD, RUN, DEBUG Cut / Copy / Paste Ctrl+X / Ctrl+C / Ctrl+V Next / Previous occurrence F3 / Shift+F3 Nuget quick list Alt+Shift+N Copy document path Ctrl+Shift+C Find word at caret Ctrl+F3 Build solution Ctrl+Shift+B Paste from clipboard history Ctrl+Shift+V Go to file member Alt+\ Run context configuration Ctrl+F5 Duplicate current line or selection Ctrl+D Go to file Ctrl+Shift+T Ctrl+Alt+Shift+R / Run / Debug selected configuration Ctrl+Alt+Shift+Up / Go to symbol Ctrl+Alt+Shift+T Alt+Shift+F9 Move line up / down Ctrl+Alt+Shift+Down Run / Debug current configuration Ctrl+F5 / Alt+F5 Delete line at caret Ctrl+Shift+L Step over F10 Join/split line Ctrl+Shift+J Step into F11 Start new line Shift+Enter NAVIGATE FROM SYMBOLS Smart step into Shift+F7 Toggle case Ctrl+Shift+U Navigate to Alt+` Step out Shift+F11 Ctrl+NumPad + / Declaration or usages F12 Run to cursor Ctrl+F10 Expand / Collapse all Ctrl+NumPad - Type declaration Ctrl+Shift+F11 Force run to cursor Ctrl+Alt+F9 Super method Alt+Home Show execution point Alt+NumPad * Implementation(s) Ctrl+F12 Evaluate expression Shift+F9 VERSION CONTROL Implementation(s) Alt+End Stop Shift+F5 Vcs operations popup Ctrl+Alt+Q Find usages / Find usages in file Shift+F12 / Alt+Shift+F11 Stop background processes Ctrl+Shift+F2 Commit Ctrl+Alt+Shift+K Highlight usages in file Alt+Shift+F11 Resume program F5 Update project Ctrl+Alt+W Show usages Alt+Shift+F12 Toggle line breakpoint F9 Rollback Ctrl+Alt+Z Toggle temporary line breakpoint Ctrl+Alt+Shift+F8 Push Ctrl+Shift+K Toggle breakpoint enabled Ctrl+F9 Ctrl+Alt+Shift+N / Edit breakpoint Alt+F9 Next / Previous change Ctrl+Alt+Shift+P NAVIGATE CONTEXT View breakpoints Ctrl+Alt+B Select in Alt+F1 MASTER YOUR IDE Recently viewed / changed files Ctrl+, / Ctrl+Shift+, Last edit location Ctrl+Shift+Back UNIT TESTS Find action Ctrl+Shift+A Navigate back / forward Ctrl+- / Ctrl+Shift+- Unit testing quick list Alt+Shift+U Open solution or project Ctrl+Shift+O Go to previous / next method Alt+Up / Alt+Down Run / Debug unit tests Ctrl+U, R / Ctrl+U, D Open file or folder Ctrl+O Line/column Ctrl+G Stop execution Ctrl+U, S Open a tool window Alt+[0-9] Go to code block end / start Ctrl+] / Ctrl+[ Repeat previous run Ctrl+U, U Reload all from disk Ctrl+Alt+Y Add to favorites Alt+Shift+F Rerun failed tests Ctrl+U, F Toggle full screen mode Alt+Shift+Enter Toggle bookmark Ctrl+K, K Run all tests from solution Ctrl+U, L Settings Ctrl+Alt+S Toggle bookmark with mnemonic Ctrl+F11 Create new session Ctrl+U, N Jump to source F4 Go to numbered bookmark Ctrl+[0-9] Append tests to session Ctrl+U, A Jump to navigation bar Ctrl+F2 Show bookmarks Ctrl+` Run current session Ctrl+U, Y Jump to last tool window Ctrl+Alt+Back Shift+Esc / Hide active / all tool windows Ctrl+Shift+F12 Go to next / previous editor tab Alt+Right / Alt+Left Go to editor (from a tool window) Esc Close active tab / window Ctrl+Shift+F4 / Ctrl+F4 DSGN-8362 jetbrains.com/rider @JetBrainsRider