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 for new associations doesn't work until Ruby LSP is restarted #420

Open
st0012 opened this issue Jul 24, 2024 · 1 comment · May be fixed by #435
Open

go-to-definition for new associations doesn't work until Ruby LSP is restarted #420

st0012 opened this issue Jul 24, 2024 · 1 comment · May be fixed by #435
Assignees
Labels
bug Something isn't working

Comments

@st0012
Copy link
Member

st0012 commented Jul 24, 2024

If users add a new association, say belongs_to :user to the Post model, the go-to-definition for :user will not work until the LSP server is restarted.

@st0012 st0012 added the bug Something isn't working label Jul 24, 2024
@andyw8
Copy link
Contributor

andyw8 commented Jul 24, 2024

We may need to call clear_reflections_cache

@st0012 st0012 assigned st0012 and unassigned st0012 Aug 8, 2024
@st0012 st0012 self-assigned this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants