Some more of my favs: Find/Replace: Ctrl+F: open Find dialog Ctrl+H: open Replace dialog F3: go to next find result Shift+F3: go to previous find result Alt+R: replace current find result Alt+A: replace all And navigating between errors/warnings: Ctrl+PgUp/PgDn: navigate up/down between errors/warnings And multi-caret editing to make you feel like a god: Alt+Ctrl+Click: add a caret Shift+Alt+Click: add carets to all lines between last and current, on same column Shift+Alt+Up/Down: add caret to line above/below
Excellent! I use most of them but the CTRL + ALT + B was new. Gonna use that for sure. I use SHIFT + ALT + and then arrows to extend the marker to multiple lines. Use that all the time when populating XAML objects.
I use Ctrl+X (left hand only, convenient when right hand is on mouse) to delete a whole line in Visual Studio. Is Ctrl+L (must use right-hand) for left-handled folks?
Two caveats: You need to declare which keyboard mapping scheme you're using since some shortcuts won't work as you've described; and, not every user can use the Copilot shortcuts (e.g. those without a paid subscription). And, I'm pretty sure that ctrl-space within the rename function dialog is Copilot not IntelliSense.
I missed the one-button cut, copy, paste from the old days with the Brief editor so I reassigned: F1= copy F2 = paste F4 = cut Also: CTRL+ E + F I use a lot to format selection CTRL + K + O to open up the corresponding .h or .cpp file (for C++) I reassigned ALT + < and ALT + > to move a file between two document groups. I always have two vertical document groups open.
Frequent usage the following one's CTRL + K C and CTRL + K U - Comment and uncomment code efficiently. CTRL + K D - Format your document quickly. CTRL + Q - Navigate your code with ease. CTRL + G - Go to a specific line number. ALT + / - Quick access to IntelliSense suggestions. CTRL + K S - Insert a snippet. PROP TAB and CTOR TAB - Auto-generate properties and constructors. ALT + UP and ALT + DOWN - Move lines up or down. CTRL + ALT + B - Build your solution. CTRL + SHIFT + F9 - Remove breakpoints. CTRL + R W - Refactor and extract method. Very rare, I am using the following one's, CTRL + , CTRL + R CTRL + R - Rename variables and more. CTRL + L and CTRL + SHIFT + TAB - Advanced navigation. CTRL + M + O, CTRL + M M, and CTRL + M P - Manage code folding.
I use comment line so much I've made it Ctrl+E,Ctrl+C, same with uncomment. That way I can do the entire hotkey with just 1 hand. I've moved/added several other hotkeys to start with Ctrl+E.
Why isn't there a shortcut 'go to usages' for god's sake. You forgot about the most important shortcuts like ctrl + f12, shift + f12. But I miss 'go to usage' so much. Just this is a reason enough to go buy resharper.
Shift+F12 (Find All References) then F8 to go to the next reference, Shift+F8 to the previous. Isn't this what you're looking for? I just have no idea, I never used Resharper.
Great video, we need more like this!
Ctrl+click: go to definition
Ctrl+Shift+Space: show method arguments
Ctrl+dot: refactoring
Ctrl+Shift+V: ring clipboard
I love Visual Studio!
Some more of my favs:
Find/Replace:
Ctrl+F: open Find dialog
Ctrl+H: open Replace dialog
F3: go to next find result
Shift+F3: go to previous find result
Alt+R: replace current find result
Alt+A: replace all
And navigating between errors/warnings:
Ctrl+PgUp/PgDn: navigate up/down between errors/warnings
And multi-caret editing to make you feel like a god:
Alt+Ctrl+Click: add a caret
Shift+Alt+Click: add carets to all lines between last and current, on same column
Shift+Alt+Up/Down: add caret to line above/below
Shortcuts for multi caret and column selection are awesome and pushed my productivity.
Using most of them waiting for next one ❤
Bookmarks:
Ctrl + K + K - set a bookmark
Ctrl + K + N - go to the next one
Naming things can be hard. Lol... I have encountered times when I take more time to come up with an object name vs actual coding.
will you ever release a linux version ?
Excellent! I use most of them but the CTRL + ALT + B was new. Gonna use that for sure. I use SHIFT + ALT + and then arrows to extend the marker to multiple lines. Use that all the time when populating XAML objects.
I use Ctrl+X (left hand only, convenient when right hand is on mouse) to delete a whole line in Visual Studio. Is Ctrl+L (must use right-hand) for left-handled folks?
Oh wow, that's nice :)
It just copied the line of the caret if no text is selected. Did not expect it to work like that. Thanks!
Shift+Alt+.
The best ☝
Two caveats: You need to declare which keyboard mapping scheme you're using since some shortcuts won't work as you've described; and, not every user can use the Copilot shortcuts (e.g. those without a paid subscription). And, I'm pretty sure that ctrl-space within the rename function dialog is Copilot not IntelliSense.
I couldn't use Ctrl + Space within rename function dialog too. =(
I missed the one-button cut, copy, paste from the old days with the Brief editor so I reassigned:
F1= copy
F2 = paste
F4 = cut
Also:
CTRL+ E + F I use a lot to format selection
CTRL + K + O to open up the corresponding .h or .cpp file (for C++)
I reassigned ALT + < and ALT + > to move a file between two document groups. I always have two vertical document groups open.
• Shift+Delete - delete the line
• Ctrl+D - duplicate the line
• Shift+Alt+L - go to the file in Solution Explorer
Great, thanks for sharing
Frequent usage the following one's
CTRL + K C and CTRL + K U - Comment and uncomment code efficiently.
CTRL + K D - Format your document quickly.
CTRL + Q - Navigate your code with ease.
CTRL + G - Go to a specific line number.
ALT + / - Quick access to IntelliSense suggestions.
CTRL + K S - Insert a snippet.
PROP TAB and CTOR TAB - Auto-generate properties and constructors.
ALT + UP and ALT + DOWN - Move lines up or down.
CTRL + ALT + B - Build your solution.
CTRL + SHIFT + F9 - Remove breakpoints.
CTRL + R W - Refactor and extract method.
Very rare, I am using the following one's,
CTRL + ,
CTRL + R CTRL + R - Rename variables and more.
CTRL + L and CTRL + SHIFT + TAB - Advanced navigation.
CTRL + M + O, CTRL + M M, and CTRL + M P - Manage code folding.
I use comment line so much I've made it Ctrl+E,Ctrl+C, same with uncomment. That way I can do the entire hotkey with just 1 hand. I've moved/added several other hotkeys to start with Ctrl+E.
ctrl+k,ctrl+s to surround the selected block of code with if or try or any of the other snippets
Ctrl + [ + S: shows the current file location in Solution Explorer
It can be really useful when working with gigantic legacy projects
Solution explorer search crtl + ; is still my favourite
Ctrl-/ toggles a line comment (although I may have set that myself)
Ctrl-Shift-/ toggles a block comment - can be part of a line - vey handy...
F12 in combi with Ctrl + '-' to go to definition and go back from where you did F12.
Ctrl+Space after Ctrl+R, Ctrl+R didn’t work for me. Instead the space was inserted.
what was the editor theme?
It's One Dark Pro. Saw it in another video :)
how to do the opposite for SHIFT+ALT+L, SHIFT+ALT+J in xaml editor?
For example convert
to
Will be great to add images with keys combinations in the video, not only pronounce them.
4:02 [CTRL + ALT + B] This should be corrected as “see all breakpoints”
CTRL+R CTRL+T: Runs all tests
In VSCode I use mainly the command palette shortcut Ctrl+Shift+P from which you can pretty much do anything.
what are break points ?
it's used for debugging
I think best is Ctrl + S, Alt + F4,
Why isn't there a shortcut 'go to usages' for god's sake. You forgot about the most important shortcuts like ctrl + f12, shift + f12. But I miss 'go to usage' so much. Just this is a reason enough to go buy resharper.
Shift+F12 (Find All References) then F8 to go to the next reference, Shift+F8 to the previous. Isn't this what you're looking for? I just have no idea, I never used Resharper.
you have my voice LOL
You can not use ctrl + / to commend and uncomment
alt + shift + dot : find replace on steroids
Alt+F4 :)
Ctrl + D duplicate a line
DEI
Wow. Knew all of them. Guess I’m pro now 🤷♂️