Skip to content

✨ Reformatting Guide #270

@Aaron-212

Description

@Aaron-212

Description

A vertical guide that visually marks the preferred line length in the editor. This helps developers follow formatting conventions and maintain consistent code style across files and teams. The guide acts as a soft limit for wrapping or formatting code and is especially helpful in languages or teams that follow line length standards (e.g., 80, 100, or 120 characters).

Proposed Behavior

  • A vertical line appears at a configurable column to indicate the preferred maximum line length.
  • This guide is always visible when enabled and serves as a soft boundary for code formatting.
  • The feature is disabled by default, but can be enabled.
  • The default column position is 80, this value should be configurable.

Implementation Notes

  • Should be configurable via editor settings (e.g., toggle for visibility and numeric input for column position).
  • The line should be non-intrusive, styled to match the theme (e.g., a faint gray line).
  • Should not affect cursor behavior, selection, or editing in any way.

Benefits

  • Encourages consistent line lengths aligned with team or language-specific standards.
  • Helps reduce horizontal scrolling and improve code readability.
  • Supports a cleaner diff experience in version control systems.

Additional Context

This feature is commonly found in professional editors and IDEs, and complements tools like linters and auto-formatters that enforce line length limits.

Screenshots

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🏁 Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions