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
Word Wrap feature not working #108326
Comments
(Experimental duplicate detection)
|
Does the problem also happen after you run the Command Palette command to reload with all extensions disabled? |
Just tried this, yes the problem remains when reloading without extensions. |
@DarkLite1 Word wrapping can be influenced by folder level settings, and it appears you are using a workspace file with further word wrapping settings. To eliminate the complicated settings setup, could you please create a separate new folder on your machine, open that folder and open a powershell file in that folder. What is the behavior? What settings do you have in your user settings? Except via settings, word wrapping is disabled when:
@ToniSHernandez @DarkLite1 Do you perhaps run into one of the two cases I outlined above? |
@sandy081 IMHO word wrapping works correctly (or as configured). The problem is that folks have a hard time configuring it. In the first case, @DarkLite1 is using a multi-folder workspace and has trouble configuring word wrapping. I believe there are workspace level settings and folder level settings at work, but I don't understand from the provided steps what exactly is misconfigured where. 🤷♂️ In the second case I believe @jabcross is trying to configure word wrapping at 80, but the default markdown language specific settings override the user settings. IMHO both of these are UX problems, i.e. the setting works as configured, but the people have a hard time to configure it how they want it. |
@alexdima It does, in fact, only happen in Markdown mode. But a silent default that overrides an explicit setting is a bug. Especially if it doesn't automatically create a field in settings.json to change it back if wanted. This does seem to solve the problem.
|
Assigning to @roblourens to see if there can be any UX improvements can be done with our settings editor for these scenarios. |
Issue Type: Bug
I attempted to use [alt]Z and [alt]z tp get word wrap to work. When this failed, I clecked on View > Toggle Word Wrap. In either situation, the feature did not work.
VS Code version: Code 1.49.3 (2af0510, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (21)
The text was updated successfully, but these errors were encountered: