Options Environment

Top  Previous  Next

options_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.

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.

 

 

 

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

HTML help or CHM Help 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 one.

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.

Reset docking

This will reset the dockable windows to the default position.

Language

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

 

 

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.