Skip to content

[Feat] LSP rename — symbol-table-driven file-wide rename #76

Description

@ax1s-x1zz

Context

Follow-up from #75 (B3). The token-level symbol table (xazz-compiler::symbols) gives all references of a name; textDocument/rename applies the same new name to every occurrence (definition + references) in the file.

Scope

  • xazz-lsp rename: collect references_of(name) → apply substitution via range edits
  • Preserve declaration sites (skip the definition span when replacing)

Acceptance

Renaming a variable updates every occurrence in the file with no false edits to other symbols.

Dependencies

#75 — symbol table already exports references.


See docs/ROADMAP.md Track B3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions