Whre are HTML tabstops configured?

View: New views
4 Messages — Rating Filter:   Alert me  

Whre are HTML tabstops configured?

by Brett Ryan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can't seem to find the area where tab stops are configured for HTML/JSP and other HTML related files.

Re: Whre are HTML tabstops configured?

by Jiri Kovalsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brett,

   invoke "Tools > Options" from the main menu and switch to "Editor" tab. See attachment. Besides, please be aware of defect #143940 [1] about not working indentation in CSS files. And of course if something does not work, submit it against html/editor [2].

[1] http://www.netbeans.org/issues/show_bug.cgi?id=143940
[2] http://www.netbeans.org/issues/enter_bug.cgi?component=html&subcomponent=Editor

Hope this helps,
-Jirka

Brett Ryan wrote:

> I can't seem to find the area where tab stops are configured for
> HTML/JSP and other HTML related files.


editor_options.png (73K) Download Attachment

Re: Whre are HTML tabstops configured?

by Brett Ryan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah, yes, but that means that ALL languages end up formatted at 2 characters, I only want to change HTML file tab-stops to 2 characters while keeping all other languages at 4.

For the moment I have set the default to two and set java to 4, but now anything other than a java file gets formatted at 2 character tab stops.

-Brett

2009/6/4 Jiri Kovalsky <Jiri.Kovalsky@...>
aware


Re: Whre are HTML tabstops configured?

by Jiri Kovalsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's right. Add your comment to already known RFE [1] if you want.

[1] http://www.netbeans.org/issues/show_bug.cgi?id=154675

Thanks for your feedback,
-Jirka

Brett Ryan wrote:

> Ah, yes, but that means that ALL languages end up formatted at 2
> characters, I only want to change HTML file tab-stops to 2 characters
> while keeping all other languages at 4.
>
> For the moment I have set the default to two and set java to 4, but now
> anything other than a java file gets formatted at 2 character tab stops.
>
> -Brett

[snip]