VS Shortcut Key Collection | Master these shortcut keys to help you debug one step faster

insert image description here

Welcome to follow the blogger Mindtechnist or join [ Linux C/C++/Python Community ] to learn and share Linux, C, C++, Python, Matlab, robot motion control, multi-robot collaboration, intelligent optimization algorithm, filter estimation, multi-sensor information fusion, Knowledge and technology in machine learning, artificial intelligence and other related fields.



Column: Common problems and solutions of development tools


1. Project shortcut keys

CTRL + SHIFT + B Build Solution
CTRL + F7 Build Compile
CTRL + O Open File
CTRL + SHIFT + O Open Project
CTRL + SHIFT + C Show Class View Window
F4 Show Properties Window
SHIFT + F4 Show Project Properties Window
CTRL + SHIFT + E Show Resource View
F12 Go to Definition
CTRL+F12 Go to Declaration
CTRL+ALT+J Object Browse
CTRL+ALT+F1 Help Contents
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 + - position forward
CTRL + F4 close the document window
CTRL + PAGE DOWN position the cursor above the window
CTRL + PAGE UP position the cursor below the window
CTRL + F6
CTRL + TAB One document window
CTRL+SHIFT+F6
CTRL+SHIFT+TAB Previous document window
ALT+F6 Next panel window
CTRL + K, CTRL + L Uncomment remark
CTRL + K, CTRL + C Comment selected code
CTRL + K, CTRL + U Uncomment selected code
CTRL + M, CTRL + O Collapse code definition
CTRL + M, CTRL + L Expand code definition
CTRL + DELETE delete to the end of the word
CTRL + BACKSPACE delete to the beginning of the word
SHIFT + TAB to cancel the tab character
CTRL + U to lowercase
CTRL + SHIFT + U to 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 vertically select to the end
SHIFT + ALT + HOME vertically select to the front
CTRL + A to select all
CTRL + W to 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 to the end
CTRL + HOME Document to the front
CTRL + G Go to...
CTRL + K, CTRL + P Previous Label
CTRL+K, CTRL+N Next Tab
ALT+F10 Debug-ApplyCodeChanges
CTRL+ALT+Break Stop Debugging
CTRL+SHIFT+F9 Cancel All Breakpoints CTRL+
F9 Enable Breaks
CTRL+SHIFT+F5 Debug-Restart
F5 Run Debugging
CTRL+F5 F5 Run without debugging F10 Step
over the program to execute F11 Step by step CTRL + J List members CTRL + PAGE DOWN Next view CTRL + B format - bold CTRL + SHIFT + T format - text indent




2. Window operation shortcut keys

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: Immediate Window
Ctrl+Tab: switch active form
Ctrl+Shift+N: create a new project
Ctrl+Shift+O: open a project
Ctrl+Shift+S: save all
Shift+Alt+C: create a new class
Ctrl+Shift+A: create a new item

3. Edit shortcut keys

Ctrl+E, D ---- Format all codes
Ctrl+E, F ---- Format selected codes
Shift+Alt+Enter: Switch full screen editing
Ctrl+B,T / Ctrl+K,K: Switch bookmarks Switches
Ctrl+B,N / Ctrl+K,N: Move to next bookmark
Ctrl+B,P: Move to previous bookmark
Ctrl+B,C: Clear all tabs
Ctrl+I: Incremental search

4. Code shortcut keys

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 selected Content
Ctrl+E,U / Ctrl+K,U: Unselect comment content
Ctrl+K,M: Generate method stub
Ctrl+K,X: Insert code segment
Ctrl+K,S: Insert outer code
F12: Go to all Invoke the definition of a procedure or variable
Ctrl+Shift+I: Reverse incremental search
Ctrl+F: Find
Ctrl+Shift+F: Find in file
F3: Find next
Shift+F3: Find previous
Ctrl+H: Replace
Ctrl +Shift+H: replace in file
Alt+F12: find symbol (list all search results)
Ctrl+Shift+V: clipboard cycle
Ctrl+left and right arrow keys: move one word at a time
Ctrl+up and down arrow keys: scroll code screen, But the cursor position is not moved.
Ctrl+Shift+L: Delete the current line
Ctrl+M,M: Hide or expand the current nested folded state
Ctrl+M,L: Set all procedures to the same hidden or expanded state
Ctrl+M,P: Stop outlining
Ctrl+E,S: View blank
Ctrl+E,W: Automatic line break
Ctrl+G: Go to the specified line
Shift+Alt+Arrow key: Select rectangular text
Alt+Left mouse button: Select rectangular text
Ctrl+Shift+U: Change all to uppercase
Ctrl+U: Change all to uppercase lower case
insert image description here


insert image description here
insert image description here


Guess you like

Origin blog.csdn.net/qq_43471489/article/details/130389096