Skip to content

v1.6.2

Choose a tag to compare

@gmpassos gmpassos released this 06 Jul 23:41
· 203 commits to master since this release
3461fab

Language Server — expression-body member ranges

Members with an expression body are now fully covered by their documentSymbol range (so "select symbol" / Outline click selects the whole member), for class and enum members.

  • int square(int n) => n * n; (Dart/C#) previously stopped at the name; it now extends to the terminating ;.
  • fun sum(a, b) = a + b (Kotlin, brace-less) previously swallowed the next member; it is now bounded to its own line, and the following member is recognized again.
  • Balanced ()/[]/{} inside the expression (e.g. a map-literal body => {1: 2}) are handled without corrupting brace tracking.

🤖 Generated with Claude Code