You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lombok generated code by annotation not showing in outline #4084
When I add Lombok annotations to a Java entity class, I expect to see the generated code (constructors, getters, setters, etc.) appear in the outline view — just like it does in NetBeans, Eclipse, Intellij. See also microsoft/vscode#239634
This seems pretty reasonable. The only reason for us not having done this that I can think of is conceptual. We use the language server integration in VS Code to generate the outline view. It's connected to textDocument/documentSymbol. The spec makes reference to the idea that these should represent symbols present in the document. The generated content by Lombok for a given source file doesn't quite match that.
However, we ran into an even more annoying case. Most IDEs have a way to show inherited symbols in the same outline view. In that case we did it in the quick-open as that seemed more useful (See #2590 ).
changed the title [-]Lombok generated code by antotation not showing in outline[/-][+]Lombok generated code by annotation not showing in outline[/+]on Oct 20, 2025
@snjeza ok so we might want to expose a setting to show generated symbols in the outline. So that we can keep it fast by default and users who really want it can toggle them on
Activity
rgrunber commentedon Jun 24, 2025
This seems pretty reasonable. The only reason for us not having done this that I can think of is conceptual. We use the language server integration in VS Code to generate the outline view. It's connected to
textDocument/documentSymbol. The spec makes reference to the idea that these should represent symbols present in the document. The generated content by Lombok for a given source file doesn't quite match that.However, we ran into an even more annoying case. Most IDEs have a way to show inherited symbols in the same outline view. In that case we did it in the quick-open as that seemed more useful (See #2590 ).
fbricon commentedon Oct 20, 2025
This is weird, the generated builder is shown in the outline, but not the other generated code. @snjeza any idea why?
[-]Lombok generated code by antotation not showing in outline[/-][+]Lombok generated code by annotation not showing in outline[/+]snjeza commentedon Oct 20, 2025
@fbricon You may want to take a look at
fbricon commentedon Oct 20, 2025
@snjeza ok so we might want to expose a setting to show generated symbols in the outline. So that we can keep it fast by default and users who really want it can toggle them on
fbricon commentedon Oct 20, 2025
and that also means #2452 did not cover the case of generated classes, only methods.
hannah23280 commentedon Jan 31, 2026
Has this been implemented?
robruijter-tangelo commentedon Feb 4, 2026
also waiting for this