« Visual Studio 2022 » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 43 : | Ligne 43 : | ||
* [https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0002 Simplify member access (IDE0002)] | * [https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0002 Simplify member access (IDE0002)] | ||
* [https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0003-ide0009 this and Me preferences] | * [https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0003-ide0009 this and Me preferences] | ||
= [https://blog.peterritchie.com/posts/visual-studio-defender-performance Windows Defender and Performances] = | |||
{| class="wikitable wtp wtmono2" | |||
|+ Elements to exclude | |||
! Type | |||
! Value | |||
|- | |||
| path || C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe | |||
|- | |||
| filename || dotnet.exe | |||
|- | |||
| filename || MSBuild.exe | |||
|- | |||
| path || $Env:USERPROFILE\source\repos | |||
|} | |||
= Extensions = | = Extensions = |
Dernière version du 25 novembre 2024 à 16:47
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
Type | Value |
---|---|
path | C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe |
filename | dotnet.exe |
filename | MSBuild.exe |
path | $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.