Skip to content

Go to Definition/Find References functionality doesn't work when cursor is at end of symbol #1038

@jaminthorns

Description

@jaminthorns

I'm not sure if this is an issue with the VS Code extension or core ElixirLS, but since it's related to cursor positioning, I opted to report it here.

The issue is that when the cursor is positioned at the very end of a symbol, Go to Definition/Find References functionality doesn't work. Here's a video illustrating the issue:

Screen.Recording.2023-06-28.at.3.15.22.PM.mov

Environment

  • Elixir & Erlang versions (elixir --version):

    Erlang/OTP 25 [erts-13.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
    Elixir 1.14.4 (compiled with Erlang/OTP 23)
    
  • VSCode ElixirLS version: 0.15.1

  • Operating System Version: darwin 22.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions