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

Implement "rename" #647

Open
anderseknert opened this issue Apr 11, 2024 · 1 comment
Open

Implement "rename" #647

anderseknert opened this issue Apr 11, 2024 · 1 comment

Comments

@anderseknert
Copy link
Member

As described in the spec: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_rename

@anderseknert
Copy link
Member Author

I was just reminded that we can do this for package renames already, piggybacking on the "secret" opa refactor move command. Reusing that and allowing this code action only on packages would be a great start! For rule / function renames, it seems better to improve OPA's API to support this than solving it only in the language server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: TODO
Development

No branches or pull requests

1 participant