microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.52k stars 28.99k forks source link

Add wordwrap indicator #47855

Open davidnorthetal opened 6 years ago

davidnorthetal commented 6 years ago

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.

ranolfi commented 6 years ago

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 commented 6 years ago

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.

h-h-h-h commented 6 years ago

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

Visual Studio

vim-daniel commented 4 years ago

is this dead? was really hoping for this

ranolfi commented 4 years ago

@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 commented 4 years ago

@ranolfi: This extension urgently needs a screenshot.

ranolfi commented 4 years ago

@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 :stuck_out_tongue_closed_eyes: But most importantly, see '(edit)' in my previous comment. The extension won't help, actually.

afruzan commented 3 years ago

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

please add the feature... 👍

xmedeko commented 3 years ago

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 commented 3 years ago

Is any work being done or planned on this?

megaacheyounes commented 3 years ago

I want this feature

vanenshi commented 3 years ago

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

vanenshi commented 2 years ago

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

TuTAH1 commented 2 years ago

+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 commented 1 year ago

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 commented 1 year ago

++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 commented 1 year ago

+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 commented 1 year ago

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 commented 1 year ago

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

bernwo commented 1 year ago

Any progress on this so far?

exse2 commented 4 months ago

Seeing the developers don't wanna do it, is there an extension at least?

nilslindemann commented 1 month ago

Until someone implements this, editor.wrappingIndent improves things a bit.

My favorite wrapping indicator is that of Notepad++, (in light umbra-orange).