Code Assistance

Code Assistance is a feature that analyzes the first few characters you have typed and provides a list of possible endings. For example, if you are using a library with a series of functions that start with 'lcd', after typing in those letters, you will see a list of functions such as 'lcdInit()' and 'lcdWrite()' displayed for you to select from.

To activate the Code Assistance window:


In the editor, type in the first few letters of an identifier (e.g. variable or function name).


Press the keys Ctrl+Space (you may need to do this twice).

When activated, you will be presented with a list of all identifiers (macros, variables, functions, etc.) that start with those letters. Double clicking on any item in the list will add it to your code by completing the text you started to type in.

Selecting an item in the list (single click) displays a documentation window that by default will have nothing in it. You need to provide the content for this window using specially formatted comments in your code.

Click image to enlarge.

Once you have inserted a new function, a tool tip will appear to prompt you for any required parameters. If there are multiple parameters, the next one to be entered will be highlighted with bold text.

Click image to enlarge.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.