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

Add wordwrap indicator #47855

Open
davidnorthetal opened this issue Apr 14, 2018 · 20 comments
Open

Add wordwrap indicator #47855

davidnorthetal opened this issue Apr 14, 2018 · 20 comments
Labels
editor-wrapping Editor line wrapping issues feature-request Request for new features or functionality
Milestone

Comments

@davidnorthetal
Copy link

There's currently no visual indication when you use the "editor.wordWrap": "on" setting.

I'd propose optionally adding a wordwrap-indicator on each newline, something like this:
untitled

so it becomes easy to spot when a line has been wordwrapped.

@vscodebot vscodebot bot added editor editor-core Editor basic functionality labels Apr 14, 2018
@ranolfi
Copy link
Contributor

ranolfi commented Apr 14, 2018

The lack of a line number is already a pretty sufficient visual indication for me personally.

edit: Although this does look nice...

vs code - word wrap indicator_4

@davidnorthetal
Copy link
Author

davidnorthetal commented Apr 14, 2018

If your code is sufficiently indented, lack of line-number can become hard to see.

Which vscode already seems to acknowledge with the existence of "editor.wrappingIndent": "indent". - However, this option just collides with lines that actually have an additional indent-level as well.

A visual indicator as first character with the indent of the actual line makes things far easier.

I've used both over the years and have come to appreciate the visual-indicator a lot when an editor offers it to me.

@alexdima alexdima added feature-request Request for new features or functionality editor-rendering Editor rendering issues and removed editor editor-core Editor basic functionality labels Apr 16, 2018
@alexdima alexdima added this to the Backlog milestone Apr 16, 2018
@alexdima alexdima removed their assignment Apr 16, 2018
@h-h-h-h
Copy link
Contributor

h-h-h-h commented May 28, 2018

Visual Studio also has symbols at the end of wrapped lines:

Visual Studio

@vim-daniel
Copy link

is this dead? was really hoping for this

@ranolfi
Copy link
Contributor

ranolfi commented Sep 21, 2020

@vim-daniel: In the meantime, you'll probably enjoy this extension: https://marketplace.visualstudio.com/items?itemName=jeff-hykin.code-eol

(edit) My bad - the extension displays end-of-line characters but doesn't provide an indication of line wrapping as discussed in this issue.

@h-h-h-h
Copy link
Contributor

h-h-h-h commented Sep 22, 2020

@ranolfi: This extension urgently needs a screenshot.

@ranolfi
Copy link
Contributor

ranolfi commented Sep 24, 2020

@h-h-h-h: I agree, although the (default) end-of-line character looks exactly like the one in the icon. Anyway, I'm not the author 😝 But most importantly, see '(edit)' in my previous comment. The extension won't help, actually.

@afruzan
Copy link

afruzan commented Nov 15, 2020

without a wordwrap-indicator glyph, using word wrap does not make sence for me and is not usefull.

please add the feature... 👍

@xmedeko
Copy link
Contributor

xmedeko commented Dec 18, 2020

I have just unintentionally pressed Alt+Z and was confused that single line has been broken to two lines. The Visual Studio end line symbol is a very good visual indicator - I always look on the right when having long lines, not on the left, where space among line numbers is displayed. C'mon VS Code, and do it like your older brother 😉

@ssoher
Copy link

ssoher commented Apr 12, 2021

Is any work being done or planned on this?

@megaacheyounes
Copy link

I want this feature

@vanenshi
Copy link

vanenshi commented Sep 19, 2021

@alexdima I am interested in implementing this feature if its possible

@vanenshi
Copy link

vanenshi commented May 2, 2022

its been 4 years, and there is no progress on this issue

@TuTAH1
Copy link

TuTAH1 commented Oct 18, 2022

+1 I'm very used to word wrap symbol in the right in VS and Notepad++ (the left-sided symbol IMO is useless, as I can clearly see the line numbers)

@jsynacek
Copy link

without a wordwrap-indicator glyph, using word wrap does not make sence for me and is not usefull.

I can second that. I rarely use line numbers and it's impossible to tell if the word wrap respects the wrap column or is wrapped on the window boundary.

@pasabanov
Copy link

++1 Please add this feature! I really lack the wordwrap indicator on the Right. An indicator on the left would be very useful too.

@stuartthompson
Copy link

+1 for this feature. Would be very useful to understand line wrappings quickly when reading to the right (I don't always see the lack of line number right away).

Ideally it would be nice to have a configuration option for the symbol to display at the end of the wrapped line, and potentially even a scroll bar indication color.

@jojorne
Copy link

jojorne commented Mar 8, 2023

Visual Studio also has symbols at the end of wrapped lines:

Visual Studio

This would be great! I've already set it to indent, missing only the symbols. 😭

@zhangbest5
Copy link

"Highlight Line", try it !
Highlights the current line in the editor. Find your location in your editor easily.

@bernwo
Copy link

bernwo commented Apr 22, 2023

Any progress on this so far?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-wrapping Editor line wrapping issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests