Skip to content

hover on getitem only works with space #1838

Closed

Activity

  1. added
    language-serverIssues specific to our IDE integration rather than type checking
    help wantedLarger than "good first issue", but still well-defined and ready for someone to pick up
    on Dec 12, 2025
  2. reopened this on Jan 15, 2026
  3. kinto0 commented on Jan 15, 2026

    @kinto0
    ContributorAuthor

    this is still not complete. hovering left side shows this:

    Image

    hovering the right side shows this (both with a space and not):

    Image

    hovering the one with a space on left side shows this:

    Image

    preferably we show the left side w/ space on all of it

    I think this is a bug involving a ruff parser change

  4. jvansch1 commented on Jan 16, 2026

    @jvansch1
    Contributor

    Ah ok I misunderstood what the issue is. I can take a look at this one. It looks like you closed it again @kinto0 not sure if that was intentional.

  5. self-assigned this
    on Jan 16, 2026
  6. github-actions commented on Jan 31, 2026

    @github-actions

    This issue has someone assigned, but has not had recent activity for more than 2 weeks.

    If you are still working on this issue, please add a comment so everyone knows. Otherwise, please unassign yourself and allow someone else to take over.

    Thank you for your contributions!

  7. kinto0 commented on Mar 18, 2026

    @kinto0
    ContributorAuthor

    I still don't think this works. notice the one with spaces shows args but the other does not:

    Image
  8. NathanTempest commented on Jun 9, 2026

    @NathanTempest
    Contributor

    Confirmed that the issue still exists. For this simple repro file

    class Container:
        def __getitem__(self, idx: int) -> int: ...
    
    c = Container()
    c[0]
    c [0]
    

    We see:

    • Hovering over c with no space
    Image
    • Hovering at 0
    Image
    • Hovering on space
    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedLarger than "good first issue", but still well-defined and ready for someone to pick uplanguage-serverIssues specific to our IDE integration rather than type checkingstale

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions