Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How to customize indentation in HTML file?
How to customize indentation in HTML file? [message #83630] Mon, 14 March 2005 22:43 Go to next message
Eclipse UserFriend
Originally posted by: ufel2522.ms13.hinet.net

I am very sorry about this foolish question.

I want to customize indentation in HTML file.
When i format JSP or HTML file, it indents 4 spaces or using tab if
"Indent using tag" checked.
I want to indent with 2 spaces only, how could i do?

and how to format java script in HTML file?

thanks a lot!
Re: How to customize indentation in HTML file? [message #85010 is a reply to message #83630] Fri, 18 March 2005 11:43 Go to previous message
Eclipse UserFriend
The only foolish questions are the ones not asked :-)

There are HTML preferences under Window->Preferences->Web and XML->HTML
Files. In these preferences you will find an option to indent using tabs.
There are also some preferences for JavaScript.

If you don't see preferences that you are looking for you can open feature
enhancement requests in bugzilla. See http://bugs.eclipse.org/bugs and
open bugs against the Web Tools project.

Lawrence


>I am very sorry about this foolish question.
>
>I want to customize indentation in HTML file.
>When i format JSP or HTML file, it indents 4 spaces or using tab if
>"Indent using tag" checked.
>I want to indent with 2 spaces only, how could i do?
>
>and how to format java script in HTML file?
>
>thanks a lot!
Previous Topic:Webtools SessionBean wizard throws NullPointerException
Next Topic:XML XSD Validation Problem
Goto Forum:
  


Current Time: Sun Jun 01 17:01:35 EDT 2025

Powered by FUDForum. Page generated in 0.04085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top