Showing posts with label sublime. Show all posts
Showing posts with label sublime. Show all posts

Thursday, June 6, 2019

How to set HTML Auto Indent format on Sublime Text 3?

Hello

To auto indent on Sublime text 3 with a key bind try going to
Preferences > Key Bindings - users

And adding this code between the square brackets

{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}

 it sets shift + alt + f to be your full page auto indent.


Wednesday, February 8, 2017

remove extra lines spaces in sublime

Select the text

Press:

Ctrl + H on PC, or
Command + Alt + F on Mac or
Click Find->Replace.

Make sure you have selected 'regular expression' by pressing:

          Alt + R on PC or
    Command + Alt + R or
    Click .* in the Find box.


Find what: ^\n

Replace With: (nothing, leave in blank).