It is noticeable that in several IDE's there are some shortcuts to indent the code . For example:
-
Eclipse (Win): Ctrl + Shift + F
As everyone knows, I assume, the indentation visually organizes the code so that the dependent blocks are aligned, making it easier to understand and read.
An example of the code below undetermined :
<div class="navbar-header">
<button type="button"
class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">SB Admin</a>
</div>
Now with indent :
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">SB Admin</a>
</div>
Is there a shortcut or "worm" to indent the code in Sublime 3?