Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the red arrow to the left of the line numbers on Atom?

Tags:

atom-editor

What does the red arrow --seen between lines 95 and 96 in the screenshot below-- mean on GitHub's Atom editor?

Thanks!

Screenshot of Atom with the red arrow

like image 818
aralar Avatar asked Nov 08 '14 23:11

aralar


People also ask

What is the red arrow in sublime?

The red arrow is one of three diff markers indicating that the line before this was deleted , the two others having to do with adding new lines or modifying existing ones.

What is the line in atom?

That's the wrap guide. It is a visual indicator of when your lines of code are getting too long. It defaults to the column that your Preferred Line Length is set to. If you want to turn it off, you can disable the wrap-guide package in the Settings View.


1 Answers

If your currently open project is using Git as a revisioning system, the arrow in the gutter means that you deleted one or more lines at this location in the file.

If you commit (or roll back) your changes, the arrow is going to disappear.

Running a "git diff" on your file should show that you deleted some content between lines 95 and 96.

Depending on the theme you're using in Atom, the arrow's color might be different from the one in the screenshot.

like image 68
nwinkler Avatar answered Sep 20 '22 19:09

nwinkler