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 15749 - Missing action Indent XML.
Summary: Missing action Indent XML.
Status: VERIFIED DUPLICATE of bug 22510
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker with 5 votes (vote)
Assignee: _ pkuzel
: 19825 (view as bug list)
Depends on:
Reported: 2001-09-21 10:41 UTC by issues@www
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description issues@www 2001-09-21 10:41:12 UTC

Name: xyNNNNNN			Date: 05/11/2001

[FFJ Build 010505 CE , Red Hat Linux 6.2 with JDK 1.3.0] 

On #document: node and in TXT editor's popup menu
want action 'Indent XML'.



xxx@xxxx 2001-05-11

It is not implemented now. We have to write a indentation engine and enable
"Reformat code action" or follow old design with improved indentation customizer
(it needs aditional info about documents without DTD).

xxx@xxxx 2001-05-15

Kovi, let xml, use enhanced IndentSettings.

xxx@xxxx 2001-06-19 Indent action will never be as was in boston. It will be
removed by reformat action in text editor. There is simple reformat action now.
It remove whitespaces after last not whitespace symbol at same line. Indent
engine also keep same column as at previous line.

This indent engine should be in orion improved and document could be indent by
start/end item occurence.

A comment.
Comment 1 Jan Chalupa 2001-11-27 17:38:49 UTC
Target milestone -> 3.3.1.
Comment 2 Jan Chalupa 2001-11-27 17:42:18 UTC
Target milestone -> 3.3.1.
Comment 3 _ lkramolis 2001-11-29 08:32:45 UTC
Classified as enhancement.
Comment 4 _ pkuzel 2002-01-28 12:58:17 UTC
*** Issue 19825 has been marked as a duplicate of this issue. ***
Comment 5 Dennis Daniels 2002-01-28 16:32:30 UTC
a really nice example of a code beautifier is found in htmlkit 
available at

at bare minimum something like this kind of clean output would be 
nice for the xml indentation

<app:editor class="" id="wizard"
         window.title="%f - wizard">
        <form ref=".">
                <textfield ref=".">
                    <caption>Wizard Subject</caption>
                    <help>Give your wizard subject a meaningful 
                <textfield ref="wizdescription">
                    <caption>wizard description</caption>
                <textfield ref="wizauthor">
                    <caption>wizard author</caption>
                    <default>Dennis Daniels</default>
                <textfield ref="wizardsource">
                    <caption>wizard source file</caption>
                    <help>This is where the users will be able to 
access the source of the wizard. 

Use the force, read the source.</help>
Comment 6 _ pkuzel 2002-06-03 12:26:36 UTC
Let these are considered while planning next release.
Comment 7 Marek Grummich 2002-07-19 16:20:07 UTC
Target milestone was changed from not determined to TBD
Comment 8 _ pkuzel 2002-08-13 17:44:02 UTC
Lowering to P3 in favour of completion 
Comment 9 _ lkramolis 2002-10-02 10:31:35 UTC

*** This issue has been marked as a duplicate of 22510 ***
Comment 10 dmladek 2004-08-04 16:38:31 UTC
isn't it strange marking this issue as duplicate of issue #22510 
which is subtask of this issue?

Please, see addd.comment in issue #22510

>------- Additional Comments From Petr Kuzel 2002-08-13 13:52 PDT >-------

>Such feature was removed, because it requires 
>hints from user to work properly. We have not 
>yet agreed what minimal set of hints is 
>Subtask of issue 15749.