Skip to content

Completion results are not be sorted properly #1093

Open
@y-tag

Description

@y-tag

Description

After upgrading jupyterlab-lsp to 5.1, the order of completion results are different from those of jupyterlab-lsp 4.3.
The results seem to be not sorted properly.

Reproduce

I built a container image with this Dockerfile and use it.

  1. Type import numpy as np and run it.
  2. Type np. and press TAB.
  3. Type as.
  4. The results are shown.

Screenshot from 2024-06-19 20-59-22

Expected behavior

The results of jupyterlab-lsp 4.3 (with this Dockerfile) are as follows:

Screenshot from 2024-06-19 21-00-36

Words begging with "as" rank higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions