Skip to content

v1.6.0

Choose a tag to compare

@gmpassos gmpassos released this 06 Jul 21:40
· 208 commits to master since this release
cb3ddf9

Language Server — member-aware completion and full-body symbol ranges

  • documentSymbol ranges now span a member's whole body, not just its signature. The token indexer tracks function/method/constructor bodies (skipping the parameter list first, so Dart named-parameter { ... } isn't mistaken for the body) and extends the range to the body's closing }. Bodyless members and the selectionRange (the name) are unchanged.
  • Completion on this. / super. now proposes the enclosing type's members with their real kinds, instead of every identifier plus keywords.
  • Completion keeps real symbol kinds even when the buffer does not parse (the this. case), by drawing on the token-index declarations; local variables and parameters are still surfaced from the raw token stream.

🤖 Generated with Claude Code