typst-lsp
typst-lsp copied to clipboard
[feature request] Rename variable
I think it would be cool to have the possibility to rename variables and functions. The VSCode action would be "Rename Symbol" with shortcut F2 (on Windows and Linux).
If we want that we should probably contribute it to typst::ide directly
Note that it is usually difficult to provide in the context of loosely typed languages like typst
@Heinenen @astrale-sharp I think this should be transferred to typst/typst. The FR is directly related to typst_ide, and it could attract more comments after moving to upstream.
Uh, I think we should open a new issue at typst/typst and also keep this issue in typst-lsp, because we need additional lsp support to allow press F2 and rename symbol then.
Done.