Predictive text implementation is terrible

Ouverte
#5,169 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Calme
Stack technique
csharp
Domaine
cli

Piste de recherche

Reproduce the behavior in PowerShell 7.6.2 with the supplied msys2_shell.cmd command and the step “Type something in powershell.” Locate the predictive-text implementation and its tests; done means suggestions are visually distinct and can be dismissed or partially accepted.

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

Description

Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.
Exception report
D:\msys64\msys2_shell.cmd -ucrt64 -defterm -here -full-path -no-start
Screenshot

Predictive text can be a really useful feature but it's implementation here is terrible.

  1. Suggested text here is the exact same colour as what I've typed. It needs to be more distinguishable.
  2. There's no way (that I can fathom) to simply dismiss the suggestion
  3. There's no way (that I can fathom) to accept a subset of the suggestion, e.g. just the next word

There may be some obtuse way to configure these things, but I shouldn't have to do that, these are reasonable expectations out of the box.

Image
Environment data
7.6.2
Steps to reproduce

Type something in powershell

Expected behavior

useful predictive text that I can distinguish from typed text, and dismiss or partially accept

Actual behavior

confusing indistinguishable predictive text that I cannot dismiss or partially accept

Langage dominant
C#
Étoiles
4.4k
Forks
341
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Autres issues de PowerShell/PSReadLine

Toutes les issues de PowerShell/PSReadLine

Issues similaires

Plus d'issues C#

Recevez les nouvelles issues par e-mail

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