Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show indentation line in IntellIJ IDEA

There is a plugin in vim which shows you "dots" (or lines, etc.) where the indentation level is.

Example:

enter image description here

Is there something similar for IntellIJ IDEA?

like image 285
AjayZonu Avatar asked Sep 02 '15 10:09

AjayZonu


People also ask

How do I show indentation in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Code Style. Select the Detect and use existing file indents for editing checkbox.

How do I Tab multiple lines in IntelliJ?

[Shift] + [Tab] (to move things further left)

How do I fix format in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.


1 Answers

Go to Settings/Editor/General/Appearance and select Show vertical indent guides to enable this feature in IntelliJ.

enter image description here

like image 110
Bohuslav Burghardt Avatar answered Sep 19 '22 00:09

Bohuslav Burghardt