Skip to content

xdoc_find_token() now prefers STR_CONST at ambiguous punctuation/string boundaries#740

Merged
renkun-ken merged 2 commits into
masterfrom
fix-739
Jul 11, 2026
Merged

xdoc_find_token() now prefers STR_CONST at ambiguous punctuation/string boundaries#740
renkun-ken merged 2 commits into
masterfrom
fix-739

Conversation

@renkun-ken

@renkun-ken renkun-ken commented Jul 11, 2026

Copy link
Copy Markdown
Member

Fixed #738, #739.

  • xdoc_find_token() now prefers STR_CONST at ambiguous punctuation/string boundaries.
  • Preserves existing operator/symbol boundary behavior.
  • Corrected S4/RefClass parse-tree selectors and member extraction.
  • Returned ranges now exclude surrounding quotes.
  • Added unit and end-to-end regression tests.

@renkun-ken renkun-ken merged commit d144db7 into master Jul 11, 2026
5 checks passed
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.

textDocument/prepareTypeHierarchy works, but typeHierarchy/supertypes and typeHierarchy/subtypes always return [] for S4 / RefClass

1 participant