I am unable to find a setting to enable modified/changed/new lines highlight in editor. Like on this screenshot from the video about angular2 by google.
How to enable modified line hilight?
This is connected with your file being under revision control. If you have your files in git
and open the folder in VS Code. You will see the colors depending on the change you've made.
Check section about Gutter indicators.
I had the same problem try launching vscode in terminal like: code your-project-dictionary
.
If code command cannot be found, enable code in shell:
Open VSCode press CMD
+Shift
+P
. A dialog will be shown: Type in "shell" and click on Shell Command: Install 'code' command in PATH
. Now you can launch VSCode in terminal. This solved my issue with highlighting changed files on VSC Project Structure!
I had the same issue and turns out that for me it was a bug in git client. Reinstalling git resolved the problem with changes highlighting. Ensure that you are using latest git client. Then reopen VSCode, reopen project/folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With