Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the sorting order of completion items #1249

Open
dbanck opened this issue Apr 19, 2023 · 0 comments
Open

Improve the sorting order of completion items #1249

dbanck opened this issue Apr 19, 2023 · 0 comments
Labels

Comments

@dbanck
Copy link
Member

dbanck commented Apr 19, 2023

Context

With the introduction of functions, we now have many more completion items. By default, VS code sorts them alphabetically, so a user needs to scroll through a long list of function names before getting to variable references (var.).

CleanShot 2023-04-19 at 16 22 13@2x

CleanShot 2023-04-19 at 16 22 22@2x

It might be helpful to show "more important" things first, before listing everything else alphabetically. What would be an ideal order here? Maybe we can collect some feedback and discuss different approaches.

Proposal

  • See if we need to introduce some sorting by priority, like displaying variable references first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant