tsantalis / RefactoringMiner

MIT License
358 stars 137 forks source link

Enable soft wrap #727

Closed koppor closed 4 months ago

koppor commented 4 months ago

Currently, some code lines are too long for RM:

grafik

I do not want to introduce a new code style (OK, the real reason are issues of palantir-java-format (https://github.com/palantir/palantir-java-format/issues/930)), thus I would like to have RM enabling cool working:

I wish that RM would offer soft wrapping (as default). Maybe optionally toggable.

(PR: https://github.com/koppor/jabref/pull/687)

tsantalis commented 4 months ago

@koppor @pouryafard75 The monaco editor supports word wrap https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorConstructionOptions.html#wordWrap

pouryafard75 commented 4 months ago

@tsantalis @koppor

image
pouryafard75 commented 4 months ago

@tsantalis @koppor Word-wrap has now been enabled by default for the Monaco-editor. It can be toggled by Alt + w. Check shortcuts button for more info:

Screenshot 2024-05-29 at 12 04 13 AM
tsantalis commented 4 months ago

@koppor @pouryafard75

soft wrapping is enabled by default. I was not able to toggle with Alt+w