« Visual Studio 2022 » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 45 : | Ligne 45 : | ||
= [https://blog.peterritchie.com/posts/visual-studio-defender-performance Windows Defender and Performances] = | = [https://blog.peterritchie.com/posts/visual-studio-defender-performance Windows Defender and Performances] = | ||
Exclude the following | Exclude the following paths: | ||
* {{boxx|C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe}} | * {{boxx|C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe}} | ||
* {{boxx|C:\Program Files\dotnet\dotnet.exe}} | * {{boxx|C:\Program Files\dotnet\dotnet.exe}} |
Version du 25 novembre 2024 à 16:33
Links
Shortcuts / Raccourcis clavier
Ctrl + T | All-In-One Search, look for files, types, and members in your code |
Ctrl + J | afficher l'IntelliSense |
Ctrl + Shift + Space | afficher le tooltip des signatures des méthodes |
Ctrl + D | duplicate current line |
Ctrl + Shift + L | supprimer la ligne courante |
Ctrl + M + O | collapse (Edit → Outlining → Collapse to Definitions) |
Debug
Ctrl + F10 | Run to Cursor - Run the code until the cursor. |
Alt + * | Go to the current statement. |
Don't have the list of recently used solutions when right-click on the task bar icon
- Windows settings → Personalization → Start → Show recently opened item in jump lists on start or the taskbar and in file explore quick access = On
Fix high CPU usage by ServiceHub.RoslynCodeAnalysisService.exe
.editorconfig |
[*.cs] dotnet_diagnostic.IDE0001.severity = none dotnet_diagnostic.IDE0002.severity = none dotnet_diagnostic.IDE0049.severity = none |
Windows Defender and Performances
Exclude the following paths:
- C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
- C:\Program Files\dotnet\dotnet.exe
- $Env:USERPROFILE\source\repos
Extensions
Output enhancer
Adds colors to Visual Studio output window.
Visual Studio Spell Checker
Bookmarks by the Numbers
Provides numbered bookmarks from 0 to 9.
Set keyboard shortcuts: Tools → Customize → Keyboard → SkoutSoft
- Ctrl-Shift-[0..9] toogle bookmark
- Ctrl-[0..9] go to
Plain rename
Hide the dashed outline displayed while editing a variable name.