Skip to main content

Eclipse Web Tools Platform 2.0 M6 - New and Noteworthy


Structured Source Editing

Configurable background syntax colors are back

    Due to popular demand, the WTP Syntax Coloring preferences pages once again allow setting of background colors.

    Syntax Coloring preference page for XML

Formatting selection

    The command previously known as Format Document will now just be known as Format. This is because if the user selects some text, the Format command will now just format the elements selected. If no text is selected, Format Document is performed. The Format Active Elements command remains the same. When users invoke that action, it will format the element the cursor is currently on.

    Smarter Format action

New hyperlinking preferences

    The Eclipse platform has implemented a Hyperlinking preference page for Text Editors where users may specify the kinds of hyperlink navigation they want enabled. The kinds of Hyperlink created by the WTP source editors are now available in that list. This new preference page can be found under the Text Editors preference page.

    Hyperlink preferences


New formatting preferences

    Users can now specify if they want all text and whitespace to be left alone in tags with PCDATA content when formatting the document. Users can also specify if they want the formatter to align the end bracket of their start tag with the begin bracket for tags that span more than one line. These options can be found on the XML Source preference page.

    New whitespace and bracket alignment options

Back to the top