This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144164 - formatting options for html/css
Summary: formatting options for html/css
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 2 votes (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 156319 167806 174441 188938 189890 190233 205253 208339 208340 217640 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-16 12:57 UTC by Troy Giunipero
Modified: 2016-10-28 17:45 UTC (History)
14 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Giunipero 2008-08-16 12:57:42 UTC
When using the editor for html/jsp, often I find that when tags are completed, or if I invoke and use code-completion,
the IDE reformats the code automatically. The problem I find is that it assumes a certain format, which is not the one I
want.

For example:

Using <p> tags:

1. Enter a paragraph in the following format:

        <p>Ajax stands for Asynchronous JavaScript and XML. In essence, Ajax is an efficient way for
            a web application to handle user interactions with a web page -- a way that reduces the need
            to do a page refresh or full page reload for every user interaction.

2. When you type in the closing <p> tag, the bottom line of the paragraph jumps to the left. This automatic behavior
occurs when choosing the closing tag from the pop-up, and it generally occurs when choosing Reformat.

Note:  This may not be a bug, but just something that I don't know how to disable. I would consider this a bug if this
behavior cannot be disabled.
Comment 1 Marek Fukala 2008-08-18 10:50:10 UTC
Having some html and jsp specific formatting options like java support has would be great, I agree with the requirement.
Comment 2 Marek Fukala 2012-10-15 12:48:21 UTC
*** Bug 217640 has been marked as a duplicate of this bug. ***
Comment 3 Marek Fukala 2012-10-15 13:11:04 UTC
*** Bug 208340 has been marked as a duplicate of this bug. ***
Comment 4 Marek Fukala 2012-10-15 13:11:33 UTC
*** Bug 208339 has been marked as a duplicate of this bug. ***
Comment 5 Marek Fukala 2012-10-15 13:12:03 UTC
detailed description by user:

http://netbeans.org/bugzilla/show_bug.cgi?id=208339#c3
Comment 6 Marek Fukala 2012-10-15 13:14:23 UTC
*** Bug 205253 has been marked as a duplicate of this bug. ***
Comment 7 Marek Fukala 2012-10-15 13:30:27 UTC
*** Bug 190233 has been marked as a duplicate of this bug. ***
Comment 8 Marek Fukala 2012-10-15 13:31:00 UTC
*** Bug 189890 has been marked as a duplicate of this bug. ***
Comment 9 Marek Fukala 2012-10-15 13:31:13 UTC
*** Bug 188938 has been marked as a duplicate of this bug. ***
Comment 10 Marek Fukala 2012-10-15 13:43:17 UTC
*** Bug 174441 has been marked as a duplicate of this bug. ***
Comment 11 Marek Fukala 2012-10-15 13:51:27 UTC
*** Bug 167806 has been marked as a duplicate of this bug. ***
Comment 12 Marek Fukala 2012-10-15 13:59:43 UTC
*** Bug 156319 has been marked as a duplicate of this bug. ***
Comment 13 Marek Fukala 2012-10-16 11:46:09 UTC
Increasing priority to P1 based on the number of duplicates requesting such functinality. Some of the users says "do it as PHP does - it is great!". I assume this should really be addressed in THE next release.
Comment 14 duke 2016-10-28 17:45:05 UTC
Is it so difficult to implement an additional option?
It is really annoying to reformat CSS.