-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Toggle word wrap Checkmark does not appear in Menubar #62307
Comments
Word wrap is more complex than just the setting. The menubar action affects the transient state of word wrap, not the setting itself. |
This is incredibly confusing because the "Toggle Word Wrap" menu item is adjacent with "Toggle Minimap", "Toggle Render Whitespace", etc., all of which do use checkmarks. I recommend either: (I'd prefer B. Personally I find the word-wrap settings to be really confusing. My mental model is that |
Any plans to progress this? It's immensely frustrating to have to manually toggle word wrap on every time I open a file. I can see it not being a priority when working with source files as the general convention is to explicitly break long lines at say character 80. But I do a lot of documentation in latex where typically the convention is to let the editor wrap the text. So every time I open a file I have to toggle word wrap. The UI doesn't make sense since there's no way of visually telling the state, and there's no way of setting it on/off in the setting file (ideally it would also be able to be set by file type i.e. on for .tex and off for .py files) |
I'm looking forward to the release notes that reflect this as being fixed. 😄 |
As discussed with @sbatten offline, one potential solution is adding a workbench contrib which can detects what's the word wrap state in the active editor and then set it to a global context key, and then the menu can read the state from the key. I'm assigning this back to @alexdima since I'm a bit lost with word wrap's transient state ;) |
Issue Type: Bug
Even when I have my settings json file open I'm not seeing the change happen. If manually add the setting I can see the toggle working but the menu does not apply the checkmark.
VS Code version: Code - Insiders 1.29.0-insider (97ad72a, 2018-10-31T06:19:46.141Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (3)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: