Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable soft wrap #727

Closed
koppor opened this issue May 27, 2024 · 4 comments
Closed

Enable soft wrap #727

koppor opened this issue May 27, 2024 · 4 comments

Comments

@koppor
Copy link

koppor commented May 27, 2024

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 (palantir/palantir-java-format#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: koppor/jabref#687)

@tsantalis
Copy link
Owner

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

@pouryafard75
Copy link
Contributor

@tsantalis @koppor
image

pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
pouryafard75 added a commit to pouryafard75/RM-ASTDiff that referenced this issue May 29, 2024
@pouryafard75
Copy link
Contributor

pouryafard75 commented May 29, 2024

@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
Copy link
Owner

@koppor @pouryafard75

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

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

No branches or pull requests

3 participants