Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's this grey triangle arrow means in IntelliJ?

IntelliJ editor image

What is this icon?

Some codes are "hidden" because of this icon, when I click it, the IDE pops up the code snippet that's supposed to be there before, since codes disappeared, I can't reference it from other files either.

like image 317
nieschumi Avatar asked Jul 17 '17 21:07

nieschumi


People also ask

What are symbols in IntelliJ?

A symbol is a semantic element in some model, e.g., language or framework model. The IntelliJ Platform uses Symbol to represent symbols, and Symbol serves as a link between Platform APIs, such as navigation, finding usages, or renaming.

What is the purpose of the following gutter icon in IntelliJ idea?

Gutter Icons They invoke some basic actions and other framework- and technology-specific features. Use the Gutter Icons page in Settings/Preferences to hide or show icons in the gutter. Note that technology-related icons are displayed only if the corresponding plugin is installed and enabled.


1 Answers

If you are using a version control system (such as Git) in the project you are working on with the IDE, you will see these marks on the files (See sample images below).

File content

  • Grey triangles: deleted content
  • Blue rectangles: changed content
  • Green rectangles: added new content

Example image that shows the CVS content changes in a file

These are seen when the changes are not yet committed. Once all the changes are committed the marks are gone.

If you click on those marks you will see the content that was there before the change took place.

Files

The same principle is applied for files (see below images)

  • Green: new file
  • Blue: modified file
  • Grey: deleted file

While working you see the files like this (deleted ones are omitted):

Example image that shows the CVS file structure changes

And, by the time you're committing changes you will see them like this (you see all files changed):

Example image that shows the CVS file structure changes when committing the changes


See official doc for more info.

like image 172
lealceldeiro Avatar answered Sep 28 '22 11:09

lealceldeiro