« Visual Studio 2022 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
 
(10 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
[[Category:VisualStudio]]
[[Category:VisualStudio]]
= Links =
* [[Visual_Studio_Configuration|Configuration]]
* [[Copilot]]
* [[CodeWhisperer]]
= [https://learn.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?view=vs-2022 Shortcuts / Raccourcis clavier] =
* [[Resharper#Raccourcis|Resharper]]
{| class="wikitable wtp wtmono1"
|-
| 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 ==
{| class="wikitable wtp wtmono1"
|-
| Ctrl + F10 || Run to Cursor - Run the code until the cursor.
|-
| Alt + * || Go to the current statement.
|}
= [https://developercommunity.visualstudio.com/t/most-recently-used-solutions-not-listed-when-right/1574617 Don't have the list of recently used solutions when right-click on the task bar icon] =
= [https://developercommunity.visualstudio.com/t/most-recently-used-solutions-not-listed-when-right/1574617 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
# Windows settings → Personalization → Start → Show recently opened item in jump lists on start or the taskbar and in file explore quick access = On
Ligne 10 : Ligne 40 :
dotnet_diagnostic.IDE0049.severity = none
dotnet_diagnostic.IDE0049.severity = none
</filebox>
</filebox>
* [https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0001 Simplify name (IDE0001)]
* [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]
= Extensions =
== [https://marketplace.visualstudio.com/items?itemName=NikolayBalakin.Outputenhancer Output enhancer] ==
Adds colors to Visual Studio output window.
== [https://marketplace.visualstudio.com/items?itemName=EWoodruff.VisualStudioSpellCheckerVS2022andLater Visual Studio Spell Checker] ==
== [https://marketplace.visualstudio.com/items?itemName=WimvanRumpt.SkoutSoftBookmarks2022 Bookmarks by the Numbers] ==
Provides numbered bookmarks from 0 to 9.<br>
Set keyboard shortcuts: Tools → Customize → Keyboard → SkoutSoft
* {{boxx|Ctrl-Shift-[0..9]}} toogle bookmark
* {{boxx|Ctrl-[0..9]}} go to
== [https://vlasovstudio.com/plain-rename Plain rename] ==
Hide the dashed outline displayed while editing a variable name.

Dernière version du 2 avril 2024 à 08:22

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

  1. 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

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.