Skip to content

✨ feat(mq-lsp): validate rename target via textDocument/prepareRename#2081

Merged
harehare merged 1 commit into
mainfrom
feat/lsp-prepare-rename
Jul 25, 2026
Merged

✨ feat(mq-lsp): validate rename target via textDocument/prepareRename#2081
harehare merged 1 commit into
mainfrom
feat/lsp-prepare-rename

Conversation

@harehare

Copy link
Copy Markdown
Owner

Summary

Advertise prepare_provider and implement prepare_rename so clients can check renameability (builtin symbols, unresolved references, no symbol at cursor) before submitting a textDocument/rename request.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor
  • 📝 Documentation
  • ⚡ Performance
  • ✅ Test
  • 📦 Build / dependencies
  • 👷 CI

Checklist

  • I ran cargo fmt and cargo clippy and addressed any warnings
  • I ran just test-all and all tests pass
  • I added or updated tests covering this change
  • I updated relevant documentation (/docs, crate README.md) if needed
  • I added a changelog entry if this is a user-facing change

Additional Context

Advertise prepare_provider and implement prepare_rename so clients can
check renameability (builtin symbols, unresolved references, no symbol
at cursor) before submitting a textDocument/rename request.
@harehare
harehare merged commit 1d30786 into main Jul 25, 2026
9 checks passed
@harehare
harehare deleted the feat/lsp-prepare-rename branch July 25, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant