Skip to content

Improve LSP auto-complete menu sorting #14566

@laughsuggestion

Description

@laughsuggestion

I don't know if this is something controlled by individual LSPs or if this can be done by Helix directly. The issue is that I'll type something like:

"SDL_Init"

And what I'll see in the auto-complete pop-up is:

SDL_INIT_GAMECONTROLLER
SDL_INIT_GAMEPAD
SDL_INIT_HAPTIC
... etc ...
SDL_Init <--- this is what I am interested in

The issue, as far as I can tell, is that the sorting is not what I'd expect. I'd expect two things:

  1. If I type SDL_Init, then because it's shorter than other things including SDL_Init, it should appear first.
  2. If I type SDL_Init, then because it directly matches things (based on capitalization/casing), it should sort closer to what I am typing.

Maybe this is already configurable? Either on my LSP or in Helix itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions