Repository navigation
v1.6.1
Language Server — enum members after the constant list
Fixes documentSymbol for members declared after an enum's constant list. Everything after the ; that ends the constant list (fields, constructors, methods) was being swallowed as bogus enum constants (named int, const, final, …), so enum methods had no body range and enum constructors weren't recognized at all.
The token indexer now tracks the constant-list terminator per enum: after that ;, identifiers in the enum body are parsed like class members — real kinds and full-body ranges. Pure-constant enums are unaffected; class constructors were already handled correctly.
🤖 Generated with Claude Code