Learn more about Toad for SQL Server
at Quest.com

Find solutions and downloads at the
Toad for SQL Server Support Portal

< To bookmark a page, right-click the Page Title and select Add to Favorites / Bookmark This Page

Toad for SQL Server 5.7

You are here: Configure Options > Editor > General

General Editor Options

This topic focuses on information that may be unfamiliar to you. It does not include all step and field descriptions.

To set general editor options

  1. Click | Options (ALT+T+O) and select Editor | General.

  2. Review the following for additional information:

    Enable bracket highlighting

    Select this checkbox to highlight the matching bracket if a bracket is selected with the cursor.

    Default: Cleared

    Show indicator margin

    Select this checkbox to create a margin on the left side of the Editor.

    Default: Selected

    Show line numbers

    Select this checkbox to display a line number in the left margin.

    Default: Cleared

    Show whitespace glyphs

    Select this checkbox to display the glyphs.

    Default: Cleared

    Show end-of-line glyphs

    Select this checkbox to display glyphs in the end of each line.

    Default: Cleared

    Show line modification markings

    Select this checkbox to add a bar in the left margin that indicates that a line has been modified.

    Default: Selected

    Show indention guides

    Select this checkbox to use vertical lines to indicate the amount of indention for text.

    Default: Selected

    Use Large Script Mode for files larger than (KB)

    Select this checkbox to disable the following features when loading files that are larger than 2 MB:

    • Outlining/code folding
    • Word-wrap
    • Content dividers (VB type feature)
    • Lexical parsing (syntax highlighting)
    • Semantic parsing (open/close brace matching, code folding features)
    • Indention guides
    • Line modification markings
    • Code Navigator

    Default: Selected

    Default language

    Select the default language to use for syntax highlighting if the file does not have a connection or a known extension.

    Note: This option applies only when opening a file in a new Editor window. If a file with an unknown extension is already open in an Editor and you select a default language, the language is not applied to the open file.   

    Default: SQL

    File encoding type

    Select the default type of encoding to use when saving files.

    Note: You can manually change the encoding type for an individual file by right-clicking the Editor window and selecting Character Encoding

    Default: Windows system settings

    Use individual connection for each open editor

    Select this checkbox to create a separate database connection for each Editor (the first time you execute a statement) and a separate database connection for each Data tab in the Database Explorer (the first time you select the tab and data is queried). The database connection for each Editor and Data tab remain open until you close the associated window; however, the connections remain in an inactive state if a statement is not currently executing.  

    If cleared, all open Editors and Data tabs share the same database connection when the connection is inactive. See Understand Toad Connections for more information.

    Note: Although you can share a database connection, any commits apply to the selected window only.

    Default: Selected

Tips:

 

Related Topics

About Editing SQL