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

De Banane Atomic
Aller à la navigationAller à la recherche
 
(19 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
[[Category:VisualStudio]]
[[Category:VisualStudio]]
= Installation =
= [https://marketplace.visualstudio.com/items?itemName=NikolayBalakin.Outputenhancer Output enhancer] =
Tools → Extensions and Updates
Adds colors to Visual Studio output window.


= Décompilateurs =
= [https://marketplace.visualstudio.com/items?itemName=SonarSource.SonarLintforVisualStudio2022 SonarLint] =
* ILSpy
<filebox fn='$env:appdata\SonarLint for Visual Studio\settings.json'>
* .NET Reflector Visual Studio Extension
 
</filebox>


= [https://marketplace.visualstudio.com/items?itemName=vs-publisher-141975.SwitchStartupProject SwitchStartupProject] =
= [https://marketplace.visualstudio.com/items?itemName=vs-publisher-141975.SwitchStartupProject SwitchStartupProject] =
Ligne 29 : Ligne 30 :
</kode>
</kode>


= [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2022 Productivity Power Tools 2022] =
= [https://marketplace.visualstudio.com/items?itemName=EWoodruff.VisualStudioSpellCheckerVS2022andLater Visual Studio Spell Checker] =
{| class="wikitable wtp"
 
|+ Extensions inclues
= [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://github.com/jsakamoto/CSharpMethodsCodeSnippets C# Methods Code Snippets] =
Add snippets to create a new method.
{| class="wikitable wtp wtmono1"  
! Snippet
! Description
|-
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.TimeStampMargin Time Stamp Margin] || ajoute un horodatage dans la fenêtre Output en debug (minutes. Seconds. Milliseconds)
| method || method with 0 arg
|-
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.SyntacticLineCompression Shrink Empty Lines] ||  
| method1 || method with 1 arg
|-
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.SolutionErrorVisualizer Solution Error Visualizer] || dans Solution Explorer souligne les fichiers contenant des erreurs ainsi que leurs projets
| amethod || async method
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.QuickLaunchTasks#overview Quick Launch Tasks] || ajoute des tasks accessiblent depuis le champs Quick Launch en haut à droite (Ctrl + Q): CollapseRegions, ExpandRegion, WordWrapOn, WordWrapOff
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.PowerCommandsforVisualStudio Power Commands for Visual Studio] || ajoute les fonctionnalités suivantes:  Format document on save, Remove and Sort Usings on save, Copy Path, Collapse Projects, Show All Files, Edit Project File, Open Containing Folder, Open Command Prompt, Unload/Reload Projects, Remove and Sort Usings
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.Double-ClickMaximize Double-Click Maximize] || double-clique sur le titre d'une docked window pour l'agrandir au maximum. Double-cliquer à nouveau pour lui rendre sa taille initiale.
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.MatchMargin Match Margin] || surligne les autres occurences du mot sur lequel se trouve le curseur dans le code et dans la barre de défilement.
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.CustomDocumentWell Custom Document Well] || Trie et coloration des onglets par projet
|}
|}


== OLD ==
= Case Converter 2022 =
* Collapse All
Convert the selection to camelCase, PascalCase or snake_case.
* Auto Brace Completion
 
* Fixer les onglets de fichier, les afficher sur 2 lignes (fixés et non-fixés) ou en colonne
= [https://marketplace.visualstudio.com/items?itemName=SergeyVlasov.PlainRename Plain Rename] =
* Carte du fichier dans la barre de déroulement des fichiers
Remove the dashed outline displayed while you are editing a variable name.
* Highlight current line
 
= [https://github.com/MadsKristensen/RainbowBraces Rainbow Braces] =
Colorizes matching brace pairs to make it easy to identify them and their scope.
 
= OLD =


= [[GhostDoc]] =
== Décompilateurs ==
* ILSpy
* .NET Reflector Visual Studio Extension
 
== [https://marketplace.visualstudio.com/items?itemName=MadsKristensen.EditorConfig EditorConfig] ==
 
== [[GhostDoc]] ==
Permet la génération de commentaires xml en un clic.
Permet la génération de commentaires xml en un clic.


= Visual Studio Spell Checker =
== GitHub for Visual Studio ==
 
= GitHub for Visual Studio =
* [https://visualstudio.github.com/ GitHub Extension for Visual Studio]
* [https://visualstudio.github.com/ GitHub Extension for Visual Studio]
* [https://github.com/github/VisualStudio/tree/master/docs GitHub for Visual Studio Documentation]
* [https://github.com/github/VisualStudio/tree/master/docs GitHub for Visual Studio Documentation]
* [https://services.github.com/on-demand/windows/visual-studio Visual Studio Integration]
* [https://services.github.com/on-demand/windows/visual-studio Visual Studio Integration]


= [https://github.com/Xavalon/XamlStyler XAML Styler] =
== [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2022 Productivity Power Tools 2022] ==
{| class="wikitable wtp"
|+ Extensions included
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.AlignAssignment2022 Align Assignments] || adds a command to align assignments
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.Double-ClickMaximize2022 Double-Click Maximize] || double-click window headers to maximize and dock them
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.CopyAsHtml2022 Copy As Html] || adds support to copy the selected editor text to clipboard in HTML format
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.FixMixedTabs2022 Fix Mixed Tabs] || detects when you have mixed tabs and spaces and offers to fix them for you automatically
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.MatchMargin2022 Match Margin] || draws markers in the scroll bar and highlights text in the editor for matches of the word under the caret
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.MiddleClickScroll2022 Middle Click Scroll] || enables scrolling in the editor pane using the middle-click mouse button
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.PeekHelp2022 Peek Help] || adds a command to show F1 Help inline in the editor. By default the command is bound to Alt+F1
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.SyntacticLineCompression2022 Shrink Empty Lines] || shrinks lines that contain neither text nor numbers so that more lines can be displayed in the editor
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.SolutionErrorVisualizer2022 Solution Error Visualizer] || highlights errors and warnings in the Solution Explorer. Also allows Solution Explorer to be filtered by error type.
|-
| [https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.TimeStampMargin2022 Time Stamp Margin] || adds a time stamp margin to the debug output window
|}
 
== [https://github.com/Xavalon/XamlStyler XAML Styler] ==
Tools → Options → XAML Styler
Tools → Options → XAML Styler
{| class="wikitable wtp wtmono1 wtmono2"
{| class="wikitable wtp wtmono1 wtmono2"
Ligne 81 : Ligne 115 :
| Comment padding || 1 ||  
| Comment padding || 1 ||  
|}
|}
= OLD =
== [https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine Open Command Line] ==
== Source Control ==
=== [https://visualstudio.github.com/ GitHub] ===
=== [http://www.attrice.info/cm/tfs/ Team Foundation Sidekicks] ===
Commit par utilisateur : Tools → Team Foundation Sidekicks → History Sidekick
=== [https://visualstudiogallery.msdn.microsoft.com/af70cbb7-1e0d-4d16-bc57-cccc15370c51 TFS Source Control Explorer Extension] ===
* Move to Folder → déplacer plusieurs fichiers simultanément
* Drag & Drop dans Source Control Explorer
== devColor ==
[http://visualstudiogallery.msdn.microsoft.com/7dbae8b3-5812-490e-913e-7bfe17f47f1d devColor] :
* Sousligne les codes couleur avec la couleur correspondante
* Permet de connaitre le code d'une couleur affichée à l'écran
== VSColorOutput ==
[http://blueonionsoftware.com/vscoloroutput.aspx VSColorOutput] :
*Mise en couleur du texte de la fenêtre de sortie suivant des expressions rationnelles
*Stopper la compilation à la première erreur
== Xaml Styler ==
[http://xamlstyler.codeplex.com XAML Markup Styler] permet de mettre en pages les fichiers XAML :
*Tri des attribut
*Mise en page lors de la sauvegarde
== CommandingImage ==
[http://visualstudiogallery.msdn.microsoft.com/ff5060af-3df8-4063-b61b-19da41c66f20 CommandingImage] permet d'associer des icônes aux [[Outils externes]].<br/>
Outils &rarr; Customize Command Images
== AnkhSVN ==
*Commit / Update / Revert / View History / Compare
*Pending Changes (affiche la liste des fichiers modifiés)
*Clique-droit sur la solution → View Solution History
**Afficher l'historique complet de tous les commit sur la branche courante
*Attention via le menu Fichier → Subversion → Change source control, AnkhSVN peut modifier le fichier solution et les fichiers projets. Cela est inutile (la solution et les projets doivent être déconnectés) si AnkhSVN est le seul fournisseur de Source de Control et que les projets sont de type C#. [http://ankhsvn.open.collab.net/ds/viewMessage.do?dsForumId=582&dsMessageId=103736 site]
== VSCommands 2010 Lite ==
*Collapse solution
*Colours highlighting
== PowerCommands ==
*Ajoute au menu clique-droit dans l'explorateur de solution
**Ouvrir une console
**Réduire un projet (collapse)
**Copier le chemin
**Copier/Coller une classe, une référence
**Supprimer et trier les using
*Options → PowerCommands
**Formater le document lors de la sauvegarde
**Supprimer et trier les using lors de la sauvegarde
*Réouvrir un fichier récemment fermé : Affichage → Autres fenêtres → Undo Close Window
== IntelliSense Presenter ==
Améliore le menu intellisense
== Regex Editor ==
Aide à l'écriture et test d'expressions rationnelles.
== Snippet ==
=== [http://visualstudiogallery.msdn.microsoft.com/3260eed5-c3c2-44f8-b705-a332d3a9f64b Snippetizer] ===
Sélectionner du code → clique-droit → Create Snippet<br>
Clique-droit → Edit Snippet<br>
Enregistre les snippet dans « <tt>Visual Studio 2013\Code Snippets\Visual C#\My Code Snippets</tt> »
=== Snippet Designer ===
* Lister et modifier les snippets existant
** Affichage → Autres fenêtres → Snippet Explorer
* Créer de nouveaux snippets
** Fichier → Nouveau → Fichier... → Snippet Designer
* [http://msdn.microsoft.com/fr-fr/library/ms242312(VS.80).aspx Fonctions]
** Afficher ou non les namespace en fonction des using déjà présents :
*** Function → SimpleTypeName(global::System.Console).
*** Affichera « Sytem.Console » si le « using System » n'est pas présent sinon affichera juste « Console ».
* Astuces
** $end$ permet de définir la position du curseur après l'insertion du snippet.
[http://snippetdesigner.codeplex.com site]
== WoVS Default Browser Switcher ==
[http://visualstudiogallery.msdn.microsoft.com/bb424812-f742-41ef-974a-cdac607df921?SRC=VSIDE WoVS Default Browser Switcher] permet de sélectionner l'explorateur web qui sera utilisé. C'est très utile avec VS2010 car ce réglage et régulièrement perdu.
== FxCop ==
Vérification du respect de règles dans le code.

Dernière version du 11 octobre 2024 à 12:48

Output enhancer

Adds colors to Visual Studio output window.

SonarLint

$env:appdata\SonarLint for Visual Studio\settings.json

SwitchStartupProject

Allow to configure and start predefined group of projects.

Json.svg
{
    "Version": 3,
    "ListAllProjects": false,
    "MultiProjectConfigurations": {
        "GroupA": {
            "Projects": {
                "ProjectA": {},
                "ProjectB": {}
            }
        },
        "GroupB": {
            "Projects": {
                "ProjectB": {}
            }
        }
    }
}

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

C# Methods Code Snippets

Add snippets to create a new method.

Snippet Description
method method with 0 arg
method1 method with 1 arg
amethod async method

Case Converter 2022

Convert the selection to camelCase, PascalCase or snake_case.

Plain Rename

Remove the dashed outline displayed while you are editing a variable name.

Rainbow Braces

Colorizes matching brace pairs to make it easy to identify them and their scope.

OLD

Décompilateurs

  • ILSpy
  • .NET Reflector Visual Studio Extension

EditorConfig

GhostDoc

Permet la génération de commentaires xml en un clic.

GitHub for Visual Studio

Productivity Power Tools 2022

Extensions included
Align Assignments adds a command to align assignments
Double-Click Maximize double-click window headers to maximize and dock them
Copy As Html adds support to copy the selected editor text to clipboard in HTML format
Fix Mixed Tabs detects when you have mixed tabs and spaces and offers to fix them for you automatically
Match Margin draws markers in the scroll bar and highlights text in the editor for matches of the word under the caret
Middle Click Scroll enables scrolling in the editor pane using the middle-click mouse button
Peek Help adds a command to show F1 Help inline in the editor. By default the command is bound to Alt+F1
Shrink Empty Lines shrinks lines that contain neither text nor numbers so that more lines can be displayed in the editor
Solution Error Visualizer highlights errors and warnings in the Solution Explorer. Also allows Solution Explorer to be filtered by error type.
Time Stamp Margin adds a time stamp margin to the debug output window

XAML Styler

Tools → Options → XAML Styler

Attribute tolerance 1 nombre max d'attributs sur une ligne
Keep first attribute on the same line True premier attribut sur la même ligne que sa balise
Enable attribute reordering False
Order attributes by name False
Comment padding 1