Skip to content

Add Syntactic Line Compression / Adaptive Line Height for low-information lines #11710

Description

@tblutNV

A feature similar to Visual Studio's "Compress blank lines" and "Compress lines that do not have alphanumeric characters" options (Syntactic Line Compression) would be very beneficial for improving scanability. Especially with agentic coding, where frequent reviews of large blocks of code is necessary.

Ideally, this would introduce a setting like editor.adaptiveLineHeight or editor.syntacticLineCompression that dynamically reduces the font size/line-height by a configurable percentage (e.g., 25–40%) only for lines that contain zero alphanumeric characters.

For example:

  • A line containing code like int x = 10; renders at standard editor.lineHeight (e.g., 22px).
  • A line containing only a trailing }; or a blank spacing line automatically renders at a compressed height (e.g., 14px).

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions