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

feat: local variables #253

Merged
merged 4 commits into from
Oct 2, 2023
Merged

Conversation

biletskyy
Copy link
Contributor

@biletskyy biletskyy commented Oct 1, 2023

resolves #85

Add ability to go to local variable definition and references.

Correctly processes variables in 'cond' and defined with 'destructure'

@biletskyy
Copy link
Contributor Author

Here is preview

local_variables1.mp4

@biletskyy biletskyy marked this pull request as ready for review October 1, 2023 11:30
Copy link
Collaborator

@mhanberg mhanberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick scan from my phone. Will need to look again later from the computer.

lib/next_ls/helpers/ast_helpers.ex Outdated Show resolved Hide resolved
test/next_ls/helpers/ast_helpers_variables_test.exs Outdated Show resolved Hide resolved
test/next_ls/helpers/ast_helpers_variables_test.exs Outdated Show resolved Hide resolved
test/next_ls/helpers/ast_helpers_variables_test.exs Outdated Show resolved Hide resolved
lib/next_ls/helpers/ast_helpers.ex Outdated Show resolved Hide resolved
@mhanberg
Copy link
Collaborator

mhanberg commented Oct 2, 2023

After we merge this, can you create tracking issues for the remaining TODOs?

@mhanberg mhanberg enabled auto-merge (squash) October 2, 2023 01:05
@mhanberg mhanberg disabled auto-merge October 2, 2023 01:06
@mhanberg mhanberg enabled auto-merge (squash) October 2, 2023 01:06
@mhanberg mhanberg merged commit 7099370 into elixir-tools:main Oct 2, 2023
3 checks passed
@biletskyy
Copy link
Contributor Author

After we merge this, can you create tracking issues for the remaining TODOs?

Yes, I created issues #261 and #262. First one is probably liked to issue Can't find references of the contents of an inline function #184, as you mentioned before.

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

Successfully merging this pull request may close these issues.

[definition] local variables
2 participants