Datasheet
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 Complete 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
mikroC 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.
43
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Environment
mikroC PRO for AVR
CHAPTER 2