Microsoft/TypeScript

Respect vscode recommendations for Go To Symbol feature

Open

#56,612 opened on 2023幎9月20日

GitHub で芋る
 (8 comments) (0 reactions) (0 assignees)TypeScript (6,726 forks)batch import
Experience EnhancementHelp WantedSuggestion

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (平均マヌゞ 6d 17h) (30d で 9 merged PRs)

説明

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

コントリビュヌタヌガむド