In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what are the Visual Studio shortcut keys". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Common shortcut keys
Ctrl+E+C comment code
Ctrl+E+U uncomments the code
Ctrl+E+D formats all code
Ctrl+Shift+A New Class
Ctrl+R+G delete invalid Using
Ctrl+H batch replacement
Ctrl+G jumps to the specified line
Ctrl+E+E runs the selected code in the interaction window (very useful)
Alt+Enter Quick reference
Shift+F9 monitoring (code runtime)
Shift+F6 generation (current class library)
F6 generation (class libraries throughout the solution)
Shift+F12 finds all references
Tab+Tab code association
Cw+Tab+Tab Console.WriteLine ()
Ctor+Tab+Tab generates a parameterless constructor
Project-related shortcut keys
Ctrl + Shift + B = build project
Ctrl + Alt + L = display Solution Explorer (solution Explorer)
Shift + Alt+ C = add a new class
Shift + Alt + A = add a new project to the project
Edit related keyboard shortcuts
Ctrl + Enter = insert a blank line on the current line
Ctrl + Shift + Enter = insert a blank line below the current line
Ctrl + Spacebar = done automatically using IntelliSense (IntelliSense)
Alt + Shift + arrow keys (←, ↑, ↓, →) = Select a custom part of the code
Ctrl +} = match braces, braces
Ctrl + Shift +} = Select text within matching parentheses, parentheses
Ctrl + Shift + S = Save all files and projects
Ctrl + K ·Ctrl + C = comment the selected line
Ctrl + K ·Ctrl + U = uncomment the selected line
Ctrl + K Magee Ctrl + D = align all codes correctly
Shift + End = Select the entire row from beginning to end
Shift + Home = Select the entire row from end to end
Ctrl + Delete = Delete all words to the right of the cursor
Navigation related keyboard shortcuts
Ctrl + Up/Down = scroll the window without moving the cursor
Ctrl +-= move the cursor to its previous position
Ctrl + = move the cursor to the next location
F12 = go to definition
Debug related keyboard shortcuts
Ctrl + Alt + P = attach to the process
F10 = debugging single step execution
F5 = start debugging
Shift + F5 = stop debugging
Ctrl + Alt + Q = add Quick match
F9 = set or delete breakpoints
Search for related keyboard shortcuts
Ctrl + K Ctrl + K = bookmark the current line
Ctrl + K Ctrl + N = navigate to the next bookmark
Ctrl +. = if you type a class name such as Collection and the namespace import is incorrect, the shortcut combination will be automatically inserted into the import
Ctrl + Shift + F = find in the file
Shift + F12 = find all references
Ctrl + F = Show find dialog box
Ctrl + H = Show replace dialog box
Ctrl + G = Jump to line number or line
Ctrl + Shift + F = find references to selected items throughout the solution
Window operation shortcut key
Ctrl+W,W: browser window
Ctrl+W,S: solution Manager
Ctrl+W,C: class view
Ctrl+W,E: error list
Ctrl+W,O: output view
Ctrl+W,P: properties window
Ctrl+W,T: task list
Ctrl+W,X: toolbox
Ctrl+W,B: bookmarks window
Ctrl+W,U: document outline
Ctrl+D,B: breakpoint window
Ctrl+D,I: instant window
Ctrl+Tab: active form toggle
Ctrl+Shift+N: new project
Ctrl+Shift+O: opening a project
Ctrl+Shift+S: save all
Shift+Alt+C: create a new class
Ctrl+Shift+A: new item
Project shortcut key
CTRL + SHIFT + B generation solution
CTRL + F7 generation and compilation
CTRL + O Open File
CTRL + SHIFT + O Open the project
CTRL + SHIFT + C display Class View window
F4 display Properties window
SHIFT + F4 displays the project properties window
CTRL + SHIFT + E display Resource View
F12 go to definition
CTRL + F12 go to declaration
CTRL + ALT + J object browsing
CTRL + ALT + F1 help directory
CTRL + F1 dynamic help
F1 help
SHIFT + F1 current window help
CTRL + ALT + F3 help-search
SHIFT + ALT + ENTER full screen display
CTRL +-position backward
CTRL + SHIFT +-forward positioning
CTRL + F4 close the document window
CTRL + PAGE DOWN cursor over the window
CTRL + PAGE UP cursor at the bottom of the window
CTRL + F6
CTRL + TAB next document window
CTRL + SHIFT + F6
Last document window on CTRL + SHIFT + TAB
ALT + F6 next panel window
CTRL + K, CTRL + L cancel remark
CTRL + K, CTRL + C comment the selected code
CTRL + K, CTRL + U uncomment the selected code
CTRL + M, CTRL + O collapse code definition
CTRL + M, CTRL + L expansion code definition
Delete CTRL + DELETE to the suffix
CTRL + BACKSPACE deleted to prefix
SHIFT + TAB cancel tabs
CTRL + U to lowercase
CTRL + SHIFT + U turn uppercase
CTRL + SHIFT + END Select to the end of the document
CTRL + SHIFT + HOME Select to start at the end of the document
SHIFT + END Select to the end of the line
SHIFT + HOME Select to the beginning of the line
SHIFT + ALT + END Vertical selection to the end
SHIFT + ALT + HOME vertical selection to the front
CTRL + A Select all
CTRL + W Select the current word
CTRL + SHIFT + PAGE UP Select to the front of this page
CTRL + SHIFT + PAGE DOWN Select to the back of this page
CTRL + END document locates to the end
CTRL + HOME document locates to the front
CTRL + G go to …
A label on CTRL + K, CTRL + P
CTRL + K, CTRL + N next label
ALT + F10 debugging-ApplyCodeChanges
CTRL + ALT+ Break stop debugging
CTRL + SHIFT + F9 cancel all breakpoints
CTRL + F9 allows interrupts
CTRL + SHIFT + F5 debugging-restart
F5 run and debug
CTRL + F5 does not debug
F10 crosses program execution
F11 is executed step by step
CTRL + J list members
CTRL + PAGE DOWN next View
CTRL + B format-Bold
CTRL + SHIFT + T format-text indentation
Debug shortcut key
F6: build a solution
Ctrl+F6: build the current project
F7: view the code
Shift+F7: view the form designer
F5: start debugging
Ctrl+F5: start execution (no debugging)
Shift+F5: stop debugging
Ctrl+Shift+F5: restart debugging
F9: toggle breakpoint
Ctrl+F9: enable / stop breakpoint
Ctrl+Shift+F9: delete all breakpoints
F10: process by process
Ctrl+F10: run to the cursor
F11: sentence by sentence
Edit shortcut key
Ctrl+E,D-format all code
Ctrl+E,F-format the selected code
Shift+Alt+Enter: toggle full screen editing
Ctrl+B,T / Ctrl+K,K: toggle Bookmark switch
Ctrl+B,N / Ctrl+K,N: move to the next bookmark
Ctrl+B,P: move to the previous bookmark
Ctrl+B,C: clear all tags
Ctrl+I: progressive search
Ctrl+Shift+I: reverse progressive search
Ctrl+F: findin
Ctrl+Shift+F: finding in files
F3: find the next one
Shift+F3: find previous
Ctrl+H: replacing
Ctrl+Shift+H: replacing in fil
Alt+F12: lookup symbol (lists all search results)
Ctrl+Shift+V: clipboard loop
Ctrl+ left and right arrow keys: you can move one word at a time
Ctrl+ up and down arrow keys: scroll through the code screen without moving the cursor position.
Ctrl+Shift+L: delete the current line
Ctrl+M,M: hides or expands the currently nested collapsed state
Ctrl+M,L: sets all procedures to the same hidden or expanded state
Ctrl+M,P: stop outlining
Ctrl+E,S: viewing white space
Ctrl+E,W: automatic line wrapping
Ctrl+G: go to the specified line
Shift+Alt+ arrow keys: selecting rectangular text
Alt+ left mouse button: select rectangular text
Ctrl+Shift+U: all uppercase
Ctrl+U: all lowercase
Code shortcut key
Ctrl+J / Ctrl+K,L: list members
Ctrl+Shift+ spacebar / Ctrl+K,P: parameter information
Ctrl+K,I: quick information
Ctrl+E,C / Ctrl+K,C: comment selection
Ctrl+E,U / Ctrl+K,U: deselect comment content
Ctrl+K,M: generate method stubs
Ctrl+K,X: inserting code snippets
Ctrl+K,S: inserting outside code
F12: go to the definition of the called procedure or variable
Unit testing
Ctrl + R, A: perform all tests
Ctrl + R, T: execute the current test method
Ctrl + R, D: all tests that performed the last test
Ctrl + R, F: failed tests for all tests that performed the last test
This is the end of the content of "what are the Visual Studio shortcuts"? thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.