Code folding is built-in Atom and there is no setting to disable it at this moment. In this article you learn how to add styles to the Atom style sheet to disable the code folding arrows.

Disable code folding in Atom Editor.

To disable code folding in Atom, do as follows:

div.icon-right::before {
  transform: translateX(-30px);

.foldable {
  pointer-events: none;

div.icon-right {
  width: 0px;

The arrow icon is translated out of visible space, the line-number/folding column will be not respond to pointer events and additionally the fold icon gets a 0px width to save some extra space.

Written by Loek van den Ouweland on 2022-07-23.
Questions regarding this artice? You can send them to the address below.