microsoft / microsoft/TypeScript
Respect vscode recommendations for Go To Symbol feature
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.4k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 117
Beschreibung
🚀 feature request
Description
When using "Go to symbol" feature, search is case sensitive and do not handle fuzzy search making the whole feature almost useless. If you have to know in advance the exact name including the case, it is way more useless.
Describe the solution you'd like
As mentionned by the team in this related ticket, it is the plugin responsability to interpret the search in a relaxed way.
The query-parameter should be interpreted in a relaxed way as the editor will apply its own highlighting and scoring on the results. A good rule of thumb is to match case-insensitive and to simply check that the characters of query appear in their order in a candidate symbol. Don't use prefix, substring, or similar strict matching.
I might be wrong, but it seems to me this is this plugin responsability then.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem verwandten VS Code issue 33746 und verfolge die Go to Symbol-Integration, um zu bestimmen, welches Plugin oder welcher Entry Point für den Abgleich von Suchanfragen zuständig ist. Bestätige die verantwortliche Komponente und definiere „done“ als eine Groß-/Kleinschreibung ignorierende Übereinstimmung von Zeichen in der richtigen Reihenfolge, die der zitierten Anleitung folgt; in diesem issue wird keine Quelldatei und kein Test genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- vscode
- Bereich
- developer-experience
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100