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

Should we apply word-wrapping in Monaco? #195

Closed
1 task done
ITAYC0HEN opened this issue May 20, 2020 · 1 comment · Fixed by #241
Closed
1 task done

Should we apply word-wrapping in Monaco? #195

ITAYC0HEN opened this issue May 20, 2020 · 1 comment · Fixed by #241
Milestone

Comments

@ITAYC0HEN
Copy link
Collaborator

Feature Category

  • User Interface / User Experience

Describe the problem

Currently, there is no word wrap in the Monaco editor and the users need to scroll horizontally

image

Describe alternatives you've considered

I see three options here:

  • Keep it as-is, it's fine
  • Enable word-wrap
  • Add a button to toggle word wrap

What do you think?

@msm-code
Copy link
Contributor

msm-code commented May 20, 2020

Related problem (and maybe fourth option) - there is a way to hide query editor, but no way to hide the query results. So it's either 40% editor 60% results or 100% result.

Maybe we could:

  • increase the default editor width to at least 50% (not sure about it yet)
  • Enforced minimal editor width, and when the window is too narrow collapse the matches view completely
  • edit or change the UI more significantly, and instead of two split panes have either 100% editor or 100% results view.

This won't solve the problem, but may make it less important in practice.

I had this problem when I tried to record a screencast: I wanted to make a browser window smaller, but query editor quickly became too narrow to be useful.

@msm-code msm-code mentioned this issue Nov 28, 2021
11 tasks
@msm-code msm-code added this to the v1.3.0 milestone Nov 30, 2021
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 a pull request may close this issue.

2 participants