Is there option to distinguish between saved and unsaved code in the Visual studio code?

Viewed 613

I have a question that the Visual Studio Code has the option to distinguish between saved code and un-saved code. Sometimes, I can't find the modified code in the editor window. So, I use "ctrl + z" to trace my modification. Do you have your idea to trace your modification but not saved yet in the Visual Studio code?

1 Answers

You always get a blue line (called gutter indicators ) on the left of unsaved code in the open editor, NOTE:- if you are don't you can set them on as below

Goto
file > prefrences > settings  
search for "Scm Diff Decorations"

enter image description here

but if it's not that helpful .

Having an auto save option turned on will be a great help.

File > Auto Save

or 
Goto 
file > prefrences > settings   
search for autosave
Turn it ON

Now after you saved you can have extensions like GIT or source Control to show the changes made .

press ctrl + shift + G to open it 

if not installed you can download it from

EXTENSIONS : MARKETPLACE

ctrl + Shift + X

search for source control or  Git 
click on install
Related