PowerShell / PowerShell/PowerShellEditorServices

Give Users the Option to order their Editor Commands or create a "Favorite" option to force to top.

Ouverte
#246 10 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Area-Extension Terminal Issue-Discussion
Langage dominant
C#
Étoiles
767
Forks
266
Merge moyen
3 j 16 h
PR mergées (30 j)
1

Description

Currently, Editor Commands are ordered in the list in the order they were loaded. This is fine right now since you can just order them in your profile in the order you want them. However, when more people start adopting Editor Commands and integrating them into their functions and modules, I can see this becoming much more problematic. I am still thinking about how you might integrate this, but I wanted to start a discussion about it.

The other Idea I had was to give the user the ability to mark "Favorite" commands that would place those commands at the top of the list. You could either do this in some form of config file, some form of command you throw in your Profile, or maybe even a switch added to Register-EditorCommand. I feel like the later might be abused by Module authors though, unless you did something where it only works if executed from the users profile or something like that.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par le comportement de Editor Commands décrit dans cette issue et examinez la discussion sur l’ordre, les favoris, les profils, la configuration et Register-EditorCommand. L’issue ne nomme aucun fichier d’implémentation ni aucun test ; pour considérer le travail terminé, il faudrait une conception approuvée ainsi qu’une manière spécifiée et testée permettant aux utilisateurs de contrôler l’ordre des commandes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, powershell
Domaine
developer-experience, tooling
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.