Skip to content

Automatically format/wrap clipboard text to N-width on paste #4452

Description

@rokdevil

Is your feature request related to a problem? Please describe.
When pasting long, single-line strings or wide data structures into the SQL Editor or text viewer, DBeaver handles very wide strings poorly. This causes heavy horizontal scrolling, UI lag, and makes the text difficult to read or edit.

Describe the solution you'd like
I would like an option (or a specific shortcut like Ctrl+Shift+V / Cmd+Shift+V) to automatically parse and wrap clipboard text to a user-defined max width (N-characters) upon pasting.It should split long strings into multiple lines.Ideally, it could offer smart wrapping (e.g., breaking at spaces or commas) or strict character-count wrapping.

Describe alternatives you've considered
Kate and other editors

Additional context
This would greatly improve readability and prevent performance degradation when dealing with wide log lines, unformatted JSON, or long tokens.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions