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

Word wrap disables unexpectedly while writing code #68522

Closed
vincentreynaud opened this issue Feb 12, 2019 · 4 comments
Closed

Word wrap disables unexpectedly while writing code #68522

vincentreynaud opened this issue Feb 12, 2019 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-wrapping Editor line wrapping issues

Comments

@vincentreynaud
Copy link

vincentreynaud commented Feb 12, 2019

Issue type: Bug

  • VSCode Version: 1.30.2 & older
  • OS Version: macOS 10.12.6 & macOS 10.13.6

Word Wrap keeps disabling itself although I have it set ON by default or although i just toggled Word Wrap back on.

Steps to Reproduce:
Working on a file, i notice the word wrap is off

  1. Turn it back on with Toggle Word Wrap / [Alt] + [Z]
  2. Continue coding
  3. Notice Word Wrap is off again!

It might get deactivated by another key combination, maybe by [Enter], [Backspace] or else, although these key bindings are not defined for that purpose. In some attempts the toggle is triggered by a simple swipe up/down the trackpad i use.

I didn't find any reports of that issue. I don't understand what is going on, and this is a pretty frustrating bug. In last resort is there even a way to totally disable the Toggle Word Wrap feature to get rid of this issue?

Does this issue occur when all extensions are disabled?: No

I did a test, the GitLens extension may be triggering this.

@vscodebot
Copy link

vscodebot bot commented Feb 12, 2019

@vscodebot vscodebot bot added the editor-wrapping Editor line wrapping issues label Feb 12, 2019
@newtonmunene99
Copy link

Any feedback on this? I'm facing the same issue on Linux

@vincentreynaud
Copy link
Author

Yes!
The setting gitlens.currentline.scrollable needs to be set to false.
Issue #43940 addresses the problem in vscode, and this one gitkraken/vscode-gitlens#290 reports it on the gitlens repo. No plan to change how the setting messes up with the word wrap feature so far.

@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Oct 21, 2019
@alexdima
Copy link
Member

Let's track in #32856

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-wrapping Editor line wrapping issues
Projects
None yet
Development

No branches or pull requests

4 participants