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

Code action putting the underscore wrongly #433

Open
andrepaes opened this issue Apr 24, 2024 · 4 comments
Open

Code action putting the underscore wrongly #433

andrepaes opened this issue Apr 24, 2024 · 4 comments

Comments

@andrepaes
Copy link

When i have a unused var then i trigger the code action to put the underscore to stop compiler warning then the underscore is placed on the beginning of the line instead of in front of the var.
image
image
this is my elixir and erlang version:
erlang 24.3.4.1
elixir 1.13.4-otp-24
I'm running on a Linux manjaro kernel version 6.5.3-1-MANJARO and cpu intel 14700K

@NJichev
Copy link
Collaborator

NJichev commented Apr 24, 2024

The code action uses the line:column from the elixir extension's diagnostic. I assume that the older version of elixir just reports the column as 0. @mhanberg maybe this will be fixed with the vendored version of elixir once this is released?

@mhanberg
Copy link
Collaborator

@NJichev this sounds likely

@NJichev
Copy link
Collaborator

NJichev commented May 9, 2024

Hey 👋
The latest release bundles together an Elixir version, can you try updating and seeing whether the issue persists.
Thanks in advance

@andrepaes
Copy link
Author

Hey, the project i'm working on is using otp 24 so i'm not able to get the new release working here

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

3 participants