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 57670 - Indent automatically and move closing tag
Summary: Indent automatically and move closing tag
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 14:10 UTC by Alexander Kouznetsov
Modified: 2007-09-25 01:33 UTC (History)
0 users

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 Alexander Kouznetsov 2005-04-08 14:10:54 UTC
It's could be very useful enhancement to automatically indent after opening tag.
Moreover, the following line:

    <tag>|</tag>

should be converted by pressing Enter to the following lines:
    
    <tag>
        |
    </tag>

where "|" shows cursor position.
Comment 1 Alexander Kouznetsov 2005-04-08 14:12:04 UTC
Second schema would be needed if 57669 is implemented.
Comment 2 Marek Fukala 2005-06-01 10:22:58 UTC
Implemented for XML/HTML/JSP file types
Comment 3 Jiri Kovalsky 2005-06-01 10:56:19 UTC
Verified in XML editor as fixed in development build #200505311800 of NetBeans 4.2.