What does a red triangle mean in Visual Studio Code?

Viewed 4215

I'm using Scrapy to crawl information and get my JSON file. What does a red rectangle and red background mean?


  1. enter image description here



  2. Enter image description here

3 Answers

The red triangle is called a "Gutter Indicator".

It means a line has been deleted from the previous version of the file (based on Git).

Visual Studio Code has an excellent integrated Git support for the most common commands. This makes it an excellent choice to manage your code commits while you develop.

For folders which are Git repositories, VS Code adds useful annotations to the gutter and to the overview ruler.

  • A red triangle indicates where lines have been deleted
  • A green bar indicates new added lines
  • A blue bar indicates modified lines

It was showing Git/VCS changes in Visual Studio Code. For example: Blue color horizontal line - Edited ,
Green color horizontal line - New

In your case it was:
Red color triangle - Deleted

Related