JDK-8294814 : "compact" mode for small (one-line?) snippets
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Priority: P3
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-10-04
  • Updated: 2022-10-04
Related Reports
Relates :  
Description
Feedback indicates that folk are not using snippets in small simple cases, because they use too much vertical white-space.

We should investigate and fix this.

Possibilities include either/both of special treatment for 1 line code, or a new attribute `compact` on a snippet. That would require a spec change.  We can also check the CSS used for a snippet.