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

Add code action to lift local match to toplevel #357

Open
BinderDavid opened this issue Nov 9, 2024 · 0 comments
Open

Add code action to lift local match to toplevel #357

BinderDavid opened this issue Nov 9, 2024 · 0 comments
Labels
enhancement New feature or request lsp

Comments

@BinderDavid
Copy link
Collaborator

We currently have the pol lift subcommand which allows to lift all local matches/comatches of a given type to the toplevel. We should also make this functionality available as an LSP code action.
I think we should provide the following two code actions:

  • On the type declaration: Lift all local (co)matches of the given type to the toplevel.
  • On an individual (co)match: Lift this specific (co)match to the toplevel.
@BinderDavid BinderDavid added enhancement New feature or request lsp labels Nov 9, 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 lsp
Projects
None yet
Development

No branches or pull requests

1 participant