Common VS extensions and shortcuts
Extension 1: Select Next Occurrence
This extension can be current target, next target, previous target, similar to Alt+mouse drag, but can be used without alignment
-
mounting
-
Set up 4 frequently used shortcuts
Tools->Options->Keyboard->c# 2005
- Select Next Shortcut: Ctrl+D
- Select Previous Shortcut: Ctrl+E
- Undo Shortcut: Ctrl+U
- Skip Shortcut: Ctrl+P
-
test
Note: You can select the next one without alignment, it can be used with Alt+shift+"+"/"-"
Extension 2: XAML Styler for Visual Studio 2022
Used to format the Xaml language in WPF
-
mounting
The settings are as follows:
Note: Right click + Format XAML or shortcut: Ctrl+2,Ctrl+K
Extension 3: Add New File

Shortcut key: Shift+F2. can nest folders
Note: VS2022 no longer needs to be installed, the new function Ctrl+Shift+A is added!
Extension 3: ILspy
Main features: you can realize the decompile, for their own can't understand can be decompiled to see the source code to help understand.

The results are as follows:

This lamda expression is actually a delegate
Extension 4: CSharpier
Function: implement c# code specification.
Expansion 5: CodeMaid
Functions: easy to manage with ah?, you can drag and drop click, you can connect multiple lines, sort multiple lines, organize the code structure.

Commonly used shortcuts:
-
Ctrl+C: don't need to select the whole line, just copy in this line
-
Ctrl+tab: switch windows
-
XaML comments: Ctrl+C,Ctrl+K; Ctrl+C,Ctrl+U.
-
Search folder:Ctr+T