the way to compart a long code line into parts in order to make the Horizontal scroll bar disappear in V.S' Text Editor

It's hard to work with those long code lines, it's hard to read, understand and modify, you must drag the Horizontal scroll bar to see the whole line. Now the  V.S has a setting to solve this problem.
Click the "Tools" botton on the menu bar, select "Options", you will see kinds of setting, click the "Text Editor", and then the "All Languages", make the "Word wrap" checkbox selected, if you want a flag for the comparting, select "Show visual glyphs word wrap", after this ,click "OK". Now your Text Editor will be more cleaner, all long code lines become short, they are easy to read and modify.
happy programming :)

你可能感兴趣的:(scroll)