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

go-to-definition stops working without editing the file #53

Open
st0012 opened this issue Nov 21, 2024 · 0 comments
Open

go-to-definition stops working without editing the file #53

st0012 opened this issue Nov 21, 2024 · 0 comments

Comments

@st0012
Copy link
Owner

st0012 commented Nov 21, 2024

This is caused by Shopify/ruby-lsp#2082 excluding the spec folder from the default indexing, which was what provides the definitions of subject and let declarations.
Without the initial indexing, we can only rely on individual files' indexing to add those definitions, which only happens when the file is edited.

The ideal solution is for Ruby LSP to introduce index-on-file-read as well. This issue is simply an acknowledgement to the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant