A
A
Anton Kondratov2010-12-13 23:38:37
css
Anton Kondratov, 2010-12-13 23:38:37

Notepad++: Auto indent when editing CSS?

How to teach Notepad++ to auto-indent inside a selector?
notepad.png
Tobish was:
.class {}
And by pressing enter inside the brackets it became:
.class {
}

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
ID175055, 2010-12-13
@hobocta

Use Komodo Edit, Luke!

A
Anton Kondratov, 2010-12-14
@hobocta

Thank you. I'm switching to komodo.

N
Neonailol, 2010-12-14
@Neonailol

in general, if you put an indent in np++, then when you go to a new line, it will observe it
+ a terrible option for opening brackets is to add a snippet to zen coding that will expand {} into {\n\r\t|\n\r}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question