HTML Indent / Auto Format (webuilder)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
xzab
Posts: 4
Joined: Thu May 29, 2008 12:01 am

HTML Indent / Auto Format (webuilder)

Post by xzab »

Is there any way currently to do automatic HTML formatting / indenting with webuilder that is NOT using Tidy? It doesn't seem that even with Tidy's indent/formatting options I can make it just nicely indent w/o changing and marking up my code. I also don't always agree w/ how tidy handles things. Plus it would be really nice to have a hotkey rather than hitting a button w/ the mouse every time (like visual studio, ctrl+k/ctrl+d does complete indenting and formatting).

Does anything like that exist now or will in the future?

Another question:
Is there a way to make the autocomplete dropdown box be available for other types of documents? it seems like I can't make it active all the time (such as inside include files of asp projects and php, etc).
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: HTML Indent / Auto Format (webuilder)

Post by Gatis »

I am afraid Tidy is the only available built-in solution you can use now to format your HTML code.

Also the auto-complete box can not be self-modified. However, if you want to have php auto-completes available for some other document types except php, this can be done. Go to Options=>Preferences=>Document Types=> and add the one you need under folder PHP. The same is true also for CSS, HTML and other supported languages.
Kind regards,
Gatis Avots
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: HTML Indent / Auto Format (webuilder)

Post by chrisjlocke »

Not entirely linked to your question, but I saw this add-on for Firefox which gives a 'chart' of your HTML code. Beautifully indented and colour coded.
http://jennifermadden.com/scripts/ViewR ... ource.html
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Re: HTML Indent / Auto Format (webuilder)

Post by joemichaud »

I guess I've only played around with tidy a little bit... seems pretty sophisticated but also a little complicated. As in, I get the feeling that it will do whatever I want if only I can figure out which parameter to change.

I'll start playing around with it and post any revelations I have on using it efficiently.
Joe Michaud
Post Reply