Options - Application Settings - Editor General

Specify the editor for which you want to set options. Options take effect as soon as you click OK.

To display the Options dialog box, select Tools > Options from the Stylus Studio menu bar. Expand Application Settings and click Editor General.

Fields

Editor

Click the down arrow to determine whether you are specifying options for the Java, XML, or XSLT editor.

Newline format

Allows you to choose the newline format for documents you open in Stylus Studio:

    • Preserve Original (the default)
    • Windows
    • UNIX
    • MacIntosh

Show line numbers

Displays line numbers at the beginning of every line in the editor display.

Indenter Settings

Preserve trailing/leading whitespace

When checked, this indicates that Stylus Studio preserves (does not trim) white space that is at the beginning or end of a text node.

Preserve newlines between elements

When checked, this indicates that Stylus Studio preserves (does not remove) new line characters that are in white space.

Wrap attributes if they exceed column

Instructs Stylus Studio to display the attribute on a new line if it starts after the specified column. The default column is 256.

Tab Settings

Keep Tabs

Insert Spaces

Tab Size indicates the number of spaces in a tab.

Sense:X

Sense:X enabled

Click the check box to determine whether Sense:X completion is enabled. If this is not checked, Stylus Studio does not display pop-up menus that list the possible elements or attributes that you can create at particular locations.

Automatically insert attribute value

Click the check box to determine whether Stylus Studio automatically inserts attribute values. Stylus Studio uses this setting when you choose an attribute from the Sense:X list. When this is checked, Stylus Studio inserts attribute_name=". When this is not checked, Stylus Studio inserts attribute_name.

Auto-close open tag when typing '</'

As soon as you type </, Stylus Studio completes the tag with the nearest previous open tag name.

Add closing tag when creating new tag

As soon as you type a new tag, Stylus Studio inserts its closing tag. For example, if you type <newtag>, Stylus Studio immediately inserts </newtag>.

Dropdown Delay

Specify how long Stylus Studio waits before it displays drop-down lists.

Do not add "Created with Stylus Studio" comment at the end of a document

Check this box if you want the comment at the end of documents created with the selected editor.

For More Information

Specifying Stylus Studio Options

Automotive Companies That Use Stylus Studio

Top automotive companies get their wheels spinning with Stylus Studio 2006. Come see which companies put Stylus Studio in their drivers seat today!

Binary XML

How do I get my binary data into XML? How do I get my binary data out of XML? The answers to these questions and more in this amazing Binary XML tutorial.

Using DataDirect XML Converters

Learn how to use DataDirect XML Converters and the Stylus Studio Java Code Generator to deploy the XQuery applications you build in Stylus Studio to a live server environment.

Stylus Studio's Advanced XQuery Mapper Features

Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member