Options Environment

From MCS Wiki AVR
Jump to: navigation, search
opions_env_editor

 

 

OPTION

DESCRIPTION

Auto Indent

When you press return, the cursor is set to the next line at the current column position.

Don't change case

When set, the reformat won't change the case of the line after you have edited it.

 

Default is that the text is reformatted so every word begins with upper case.

Reformat BAS files

Reformat files when loading them into the editor.

All lines are reformatted so that multiple spaces are removed.

 

This is only necessary when you are loading files that where created with another editor. Normally you won't need to set this option.

Reformat code

Reformat code when entered in the editor.

The reformat option will change the modified line.

For example a   = a    +  1 will be changed into :  a = a + 1 . When you forget a string end marker ", one will be added, and endif will be changed into End IF.

Smart TAB

When set, a TAB will place the cursor to the column where text starts on the previous line.

Syntax highlighting

This options highlights BASCOM statements in the editor.

Show margin

Shows a margin on the right side of the editor. You can specify the position. By default this is 80.

Comment

The position of the comment. Comment is positioned to the right of your source code.  Exception if comment is first character of a line.

TAB-size

Number of spaces that are generated for a TAB.

Key mapping

Choose default, Classic, Brief or Epsilon.

No reformat extension

File extensions separated by a space that will not be reformatted when loaded. For example when DAT is entered, opening a DAT file can be done without that it is reformatted.

Size of new editor window

When a new editor window is created you can select how it will be made. Normal or Maximized (full window)

Line Numbers

Show line numbers in the margin.

Show Subs/Labels

This option will show sub modules/functions and labels at the top of the editor window in a drop down box. To get more screen space you can disable this option.

Draw Indention Lines

This option will draw vertical indent lines for structures.

 

Editor draw indent.png


Indention drawing will only work if the Code Explorer is visible. You can use Proper Indent function to indent your code.

Drawing indention lines can result in slower screen painting.

 

 

 

options_env_ide_font

 

 

 

OPTION

DESCRIPTION

Background color

The background color of the editor window.

Keyword color

The color of the reserved words. Default Navy.

 

The keywords can be displayed in bold too.

Comment color

The color of comment. Default green.

 

Comment can be shown in Italic too.

ASM color

Color to use for ASM statements. Default purple.

HW registers color

The color to use for the hardware registers/ports. Default maroon.

String color

The color to use for string constants : "test"

Variable color

The color to use for variables.

Editor font

Click on this label to select another font for the editor window.

 

 

 

 

options_ev_ide

 

 

 

OPTION

DESCRIPTION

Tool tips

Show tool tips.

File location

Click to select a directory where your program files are stored. By default Windows will use the My Documents path.

Use HTML Help

Chose between HTML help and CHM Help. CHM  is the preferred help file. Since HLP is not supported under Vista, it is advised to switch to CHM/HTML Help.

With the UpdateWiz you can still download the HLP file.

Code hints

Select this option to enable code hints. You can get code hints after you have type a statement that is recognized as a valid statement or function.

Hint Time

The delay time in mS before a code hint will be shown.

Hint Color

The background color of the hints.

Allow multiple Instances

Select this option when you want to run multiple instances of BASCOM. When not enabled, running a second copy will terminate the first instance.

Auto save on compile

The code is always saved when you compile. When you select this option, the code is saved under the same name. When this option is not selected, you will be prompted for a new filename.

Auto backup

Check this option to make periodic backups. When checked you can specify the backup time in minutes. The file will also be saved when you press the compiler button.

Auto load last file

When enabled, this option will load the last file that was open into the editor, when you start BASCOM.

Auto load all files

When enabled, this option will load all files that were open when you closed BASCOM.

Check for updates

Select this option to check for updates when the IDE is started.

Show TABS

This option will enable/disable the TAB for multiple windows. While the TAB is convenient to switch between windows, it will also consume screen space. You can disable this option to get more screen space.

Reset docking

This will reset the dockable windows to the default position.

Search Find text at Cursor

When you press CTRL+F to search for text, the word under the cursor will be placed in the search window. When you want an empty search window you can disable this option.

Language

This will set the language in the main menu to the selected language. Not all listed languages are supported/translated yet.

Clear Do not Ask

Some messages have a 'do not ask again' option. To reset this and thus show the messages, you can click this button.

Search Find Auto Complete

This option can enable/disable the auto completion in the Find dialog. When it is active and you type some text, based on historical input, the text will be completed. This is not always desired and can be disabled.

 

 

 

options_env_pdf

 

OPTION

DESCRIPTION

Auto open processor PDF

This option will automatic load the PDF of the selected micro processor in the PDF viewer. The $REGFILE value determines which data sheet is loaded. The PDF must exist otherwise it can not be loaded.

Open PDF in new sheet

Every time you change the value of the $REGFILE the processor PDF can be shown in the same sheet, or a new sheet can be shown with the PDF. A good option in case your project uses multiple processors.

Auto save/load project PDF

Load all PDF's when the project is opened that were loaded when the project was closed.



Languages   English Deutsch  

Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language