How to collapse the line numbers bar in IntelliJ IDEA?

2023-05-22--05-05-14

stackoverflow.com/questions/44348880
stackoverflow.com/questions/35114604

Disable the «Editor» → «General» → «Gutter Icons» → «Show gutter icons» feature:

2023-05-22--05-17-56

stackoverflow.com/a/44461559
jetbrains.com/help/idea/2023.1/settings-gutter-icons.html#Settings_Gutter_Icons.xml

You can also set a keyboard shortcut to toggle gutter icons:
2023-05-22--05-27-10