pranavDCpatil
pranavDCpatil

Reputation: 145

What are those vertical lines next to the number of code line

What exactly are these lines used for and what's the name of the extension?

enter image description here

Upvotes: 6

Views: 7382

Answers (2)

Rodrigo
Rodrigo

Reputation: 112

Theses lines is controlled by setting in Settings -> Features -> Source Control -> "Diff Decorations".

You can change many options (can disable, click action, etc.)

Upvotes: 1

user15388024
user15388024

Reputation:

These lines indicate changes in the file. Blue lines indicate modifications (line of code was modified), green lines indicate additions (line of code was added) and red lines indicate deletions (line of code was deleted). They are added by version control system (VCS) extensions like Git.

You can find a similar image with similar line on https://code.visualstudio.com/docs/editor/versioncontrol

That's the built-in VCS for Git.

Upvotes: 10

Related Questions