Inline Annotations¶
Code lens annotations show struct and field size information directly in the editor.
Struct annotations¶
A line above each struct shows total size and optimization status:
When GC pressure optimization applies, it includes GC scan info:
Field annotations¶
Inline annotations next to each field show individual sizes:

Toggle¶
Annotations can be disabled via the setting goStructAnalyzer.showInlineAnnotations.