posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.74k stars 82 forks source link

Feature request: "Rename symbol" for R #4525

Open gadenbuie opened 2 months ago

gadenbuie commented 2 months ago

Currently, Positron (via Ark), doesn't support the "Rename symbol" command in R.

This is an extremely useful feature when writing or refactoring code and is supported in other languages, like Python and JavaScript. I'd love to see it in Positron!

FinYang commented 2 months ago

Is this referring to something similar to the "Rename Symbols in Scope" in RStudio? In Positron I am setting the same shortcut for "Change All Occurrences" editor.action.changeAll as a workaround, probably still different from editor.action.rename.

juliasilge commented 2 months ago

LSP docs here: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_rename