Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Parameter Assistant
The Parameter Assistant will be automatically invoked when you open parenthesis
“(” or press Shift+Ctrl+Space. If the name of a valid function precedes the parenthe-
sis, then the expected parameters will be displayed in a floating panel. As you type
the actual parameter, the next expected parameter will become bold.
Code Templates (Auto Complete)
You can insert the Code Template by typing the name of the template (for instance,
whiles
), then press Ctrl+J and the Code Editor will automatically generate a code.
You can add your own templates to the list. Select Tools › Options from the drop-
down menu, or click the Show Options Icon             and then select the Auto Com-
plete Tab. Here you can enter the appropriate keyword, description and code of your
template.
Autocomplete macros can retreive system and project information:
%DATE%
- current system date 
%TIME%
- current system time 
%DEVICE%
- device(MCU) name as specified in project settings 
%DEVICE_CLOCK%
- clock as specified in project settings 
%COMPILER%
- current compiler version
These macros can be used in template code, see template ptemplate provided with
mikroPascal PRO for AVR installation.
Auto Correct
The Auto Correct feature corrects common typing mistakes. To access the list of rec-
ognized typos, select Tools › Options from the drop-down menu, or click the Show
Options Icon           and then select the Auto Correct Tab. You can also add your
own preferences to the list.
Also, the Code Editor has a feature to comment or uncomment the selected
code by simple click of a mouse, using the Comment Icon         and Uncom-
ment Icon         from the Code Toolbar.
42
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Environment
mikroPASCAL PRO for AVR
CHAPTER 2