CMS Development

khookguy
Contributor | Diamond Partner
Contributor | Diamond Partner

keyboard shortcut to fix indentation (reformat) in design manager code

SOLVE

What is the keyboard shortcut to re-format all the code in custom template? I can select all code with cmd-a (on a Mac); I can indent with cmd-]; etc. But, how can I fix all the indentation?

 

More generally, where can I find a list of all the keyboard shortcuts?

0 Upvotes
1 Accepted solution
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

keyboard shortcut to fix indentation (reformat) in design manager code

SOLVE

Hey @khookguy 

 

Try selecting the code and hitting: SHIFT + TAB.

 

This will format any HTML, CSS or JS.

Unfortunetly this doesn't work so well with hubl. As you will see it removed all indentation for Hubl.

 

As for a list, I'm pretty sure it's just the standard web IDE options. This article has a number of standard key strokes.

 

Hopefully this helps!

Kevin Cornett - Sr. Solutions Architect @ BridgeRev

View solution in original post

2 Replies 2
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

keyboard shortcut to fix indentation (reformat) in design manager code

SOLVE

Hey @khookguy 

 

Try selecting the code and hitting: SHIFT + TAB.

 

This will format any HTML, CSS or JS.

Unfortunetly this doesn't work so well with hubl. As you will see it removed all indentation for Hubl.

 

As for a list, I'm pretty sure it's just the standard web IDE options. This article has a number of standard key strokes.

 

Hopefully this helps!

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
khookguy
Contributor | Diamond Partner
Contributor | Diamond Partner

keyboard shortcut to fix indentation (reformat) in design manager code

SOLVE

Thanks - this was killing me!

0 Upvotes