Add symbol rename capability to typst-ide crate
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
One of the most powerful features that improves dev productivity is the ability to rename variables via an LSP server.
This was first mentioned here: https://github.com/nvarner/typst-lsp/issues/51.
LSP spec reference:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_rename
Use Case
Renaming variables and function names in Typst. Note that it should support Unicode names (some projects at first only supported ASCII names), which will bring even more convenience to the DX.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the typst-ide crate and the LSP 3.17 textDocument/rename specification, then review the earlier discussion in typst-lsp issue #51. The work is done when Typst variable and function names can be renamed through the LSP, including Unicode names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100