Share via


Options Dialog Box: Tabs Tab (Windows CE 5.0)

Send Feedback

This tab includes the following items.

  • File type
    Use to see the available file types that the editor recognizes.

    Select the file type you want.

    Your choice determines the default tab and indent settings.

    The file type of Default specifies all files not otherwise identified, and is equivalent to plain text.

  • Tab size
    Use to specify the number of space characters that equal one tab character.

    The default is four space characters.

  • Insert spaces
    Use to convert tabs to the number of spaces specified in the TabSize box when you save a file.

  • Indent size
    Use to specify the column width in spaces between indent locations.

    The default is four spaces.

    Pressing the TAB key once moves the cursor to the next indent location.

    Tab size and indent size work together.

    For example, if you have an indent size of seven characters, a tab size of three characters, and the insertion point in a text file is at an indent location, you can press the TAB key once to insert two tab characters (each three spaces wide) plus one space character (one space wide). This moves the seven character positions to the next indent location.

  • Keep tabs
    Use to save tabs as tab characters when you save a file.

  • Auto indent
    Choose from the following:

    • Select None so that source code does not automatically indent.

    • Select Default to indent source code using the default tab and indent sizes.

    • Select Smart to Indent source code using the Smart Indent options: Indent open brace, Indent closing brace, and Previous lines used for context.

      If you do not specify any Smart Indent options, Platform Builder uses the previous 100 lines for context and indents your source code to match.

  • Smart indent options
    If you selected Smart in the Auto indent options, you can specify the following.

    • Select Indent open brace to indent opening braces by the Indent size value.
    • Select Indent closing brace to indent closing braces by the Indent size value.
    • Type the number of lines to scan back to determine a context for indents in the Previous lines used for context text box. The default value is 100.

See Also

Options Dialog Box

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.