Skip to content

Add hard wrap limit option to console#2494

Draft
trancexpress wants to merge 1 commit intoeclipse-platform:masterfrom
trancexpress:gh2479
Draft

Add hard wrap limit option to console#2494
trancexpress wants to merge 1 commit intoeclipse-platform:masterfrom
trancexpress:gh2479

Conversation

@trancexpress
Copy link
Copy Markdown
Contributor

@trancexpress trancexpress commented Mar 1, 2026

Add hard wrap limit option to console

This change adds the following options to org.eclipse.debug.ui:

  • Console.limitLongLines (boolean)
  • Console.limitLongLinesWrap (boolean)
  • Console.limitLongLinesLength (int)

When limitLongLines is set, long console lines will be trimmed or wrapped.
If limitLongLinesWrap is set, lines are wrapped. Otherwise lines are trimmed.
The length at which long lines are trimmed/wrapped is limitLongLinesLength.

The preferences apply to output before its appended to the
console document. In contrast, the existing console word wrapping is applied
after the output is appended to the console document.

Fixes: #2479

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 1, 2026

Test Results

    54 files  ±  0      54 suites  ±0   35m 11s ⏱️ -49s
 4 642 tests + 84   4 606 ✅ + 72   23 💤 ±0  13 ❌ +12 
12 396 runs  +126  12 230 ✅ +120  159 💤 ±0   7 ❌ + 6 

For more details on these failures, see this check.

Results for commit 34508dc. ± Comparison against base commit 0eda9f4.

♻️ This comment has been updated with latest results.

@trancexpress trancexpress force-pushed the gh2479 branch 2 times, most recently from 65211f2 to 4e4ac26 Compare April 11, 2026 09:59
This change adds the following options to org.eclipse.debug.ui:

* Console.limitLongLines (boolean)
* Console.limitLongLinesWrap (boolean)
* Console.limitLongLinesLength (int)

When limitLongLines is set, long console lines will be trimmed or wrapped.
If limitLongLinesWrap is set, lines are wrapped. Otherwise lines are trimmed.
The length at which long lines are trimmed/wrapped is limitLongLinesLength.

The preferences apply to output before its appended to the
console document. In contrast, the existing console word wrapping is applied
after the output is appended to the console document.

Fixes: eclipse-platform#2479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hard wrap limit option to console

1 participant