HTML auto indentation
Posted: Thu Mar 26, 2009 4:28 pm
Hello!
I'm trying Textpad 5.2 because I need an editor (not an IDE) to test some quick & dirty code, mainly in HTML, C and Java. I have particularly appreciated the already configured "External Tools" to compile and run Java applications / applets and they worked out of the box without any further configuration.
Now, when I create a C file or a Java file, the editor auto indents code.
When I create an HTML document, the auto indentation doesn't works. I just want 2 spaces indentation for HTML tags, just like this:
I played with the settings but I cannot arrive to a working conclusion. I have selected the option "Automatically indent blocks" in the HTML section of the "Preferences" menu but it seems it does nothing to my problem. What can I do?
Thank you in advance.
I'm trying Textpad 5.2 because I need an editor (not an IDE) to test some quick & dirty code, mainly in HTML, C and Java. I have particularly appreciated the already configured "External Tools" to compile and run Java applications / applets and they worked out of the box without any further configuration.
Now, when I create a C file or a Java file, the editor auto indents code.
When I create an HTML document, the auto indentation doesn't works. I just want 2 spaces indentation for HTML tags, just like this:
Code: Select all
<html>
<head>
<title>This is a crappy web page!</title>
</head>
<body>
Hello World!
</body>
</html>
Thank you in advance.