Summary
Add textDocument/rename and textDocument/prepareRename LSP support to @pleaseai/code-lsp package.
Motivation
From docs/TODO.md - Rename Symbol is the #1 high priority missing feature compared to Serena's SolidLSP implementation. This enables AI coding tools to perform safe refactoring operations across the codebase.
LSP Methods
textDocument/prepareRename - Validates if symbol at position can be renamed
textDocument/rename - Performs rename operation, returns WorkspaceEdit
Tasks
Dependencies & Execution Order
Parallel Group 1 (independent):
- T001: Type schemas
- T002: Client capability
- T007: Unit tests (TDD)
Sequential:
- T003: Normalization methods
- T004: prepareRename method
- T005: rename method
- T006: Documentation
- T008: Integration tests
References
- Spec: specs/001-rename-symbol/spec.md
- Architecture: specs/001-rename-symbol/architecture.md
- Serena Reference: ref/serena/src/solidlsp/ls.py:1834-1859
- TODO.md: docs/TODO.md#1-rename-symbol
Summary
Add
textDocument/renameandtextDocument/prepareRenameLSP support to @pleaseai/code-lsp package.Motivation
From docs/TODO.md - Rename Symbol is the #1 high priority missing feature compared to Serena's SolidLSP implementation. This enables AI coding tools to perform safe refactoring operations across the codebase.
LSP Methods
textDocument/prepareRename- Validates if symbol at position can be renamedtextDocument/rename- Performs rename operation, returns WorkspaceEditTasks
Dependencies & Execution Order
Parallel Group 1 (independent):
Sequential:
References