visual-studio-2022

Visual studio shows no vertical scroll bar


I'm using VS2022 and I'm trying to get rid of these signs:

Screenshot of visual studio with word wrap signs

I don't know what I did to make it appear, but it essentially goes down a line when the text reaches the end of the editor, instead of showing the scroll bar.

Any idea how to get back my vertical scroll bar?


Solution

  • If this problem affects multiple files, turn off word wrap from Tools > Options > Text Editor > All Languages > General.
    If it affects a single file, then turn off word wrap from Edit > Advanced > Word Wrap with the file open.

    If that doesn't help, go to Tools > Options > Text Editor > All Languages > Scroll Bars and make sure both of these boxes are checked:

    1. Show horizontal scroll bar
    2. Show vertical scroll bar

    enter image description here