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 actions #49

Closed
3 of 7 tasks
mhanberg opened this issue Jun 26, 2023 · 4 comments
Closed
3 of 7 tasks

code actions #49

mhanberg opened this issue Jun 26, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@mhanberg
Copy link
Collaborator

mhanberg commented Jun 26, 2023

Tracking ticket, please comment with ideas for code actions!

  • mark unused variable with underscore
  • alias module
  • require module (like Logger)
  • extract variable
  • extract function
  • inline function
  • inline variable
@mhanberg mhanberg added the enhancement New feature or request label Jun 26, 2023
@biletskyy
Copy link
Contributor

we also could convert 'if' to/from inline version

@mpmiszczyk
Copy link

convert function call to pipe, convert pipe to function call

@mhanberg mhanberg changed the title code actions code lenses Nov 3, 2023
@mhanberg mhanberg changed the title code lenses code actions Nov 3, 2023
@sesamzoo
Copy link

Hi @mhanberg,

I guess, you can update the status of the following tasks

  • mark unused variable with underscore

-- https://github.com/elixir-tools/next-ls/blob/v0.19.2/test/next_ls/extensions/elixir_extension/code_action/unused_variable_test.exs

  • require module (like Logger)

-- https://github.com/elixir-tools/next-ls/blob/v0.19.2/test/next_ls/extensions/elixir_extension/code_action/require_test.exs

@NJichev
Copy link
Collaborator

NJichev commented Apr 24, 2024

Closing in favour of #434, #435, #438, #439

@NJichev NJichev closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants