To access the Options window, select from the main menu: | Tools > Options (Windows® and Linux®) |
mplab_ide > Preferences (macOS®) |
Features and behaviors controlled from the General tab in the Editor category:
Code Folding
Code folding is a feature of the MPLAB® X editor that makes it possible to collapse (hide) and expand parts of a file, making it easier to focus just on the parts of interest. In general, any code block surrounded by braces '{' and '}' will be collapsible by clicking on the "-" and may be expanded by clicking on the "+" to its left. This includes function bodies, compound statements, and also groups of compiler directives. Code folds may be nested, providing a high degree of control over which parts of a file are visible at any one time. Code folding is configurable to include or exclude numerous code structures and also provides a means of creating custom code folds to hide and reveal any part of a file you desire.
Use Code Folding
Enables or disables code folding feature. Enabled by default.
Collapse by Default
Checking items in this section will make the item display in its collapsed state by default.
Methods
Applies to C Functions and C++ Methods.
Inner Classes
No effect in MPLAB® X IDE (an artifact of the IDE's NetBeans/Java origin).
Imports
No effect in MPLAB X IDE (an artifact of the IDE's NetBeans/Java origin).
Javadoc Comments
Affects specially formatted comments for automatic documentation generation.
Initial Comment
Affects comments/comment blocks that start on line 1 of the file.
Tags and Other Code Blocks
No effect in MPLAB X IDE at the present time.
Camel Case Behavior
Enable Camel Case Navigation
When Camel Case Navigation is enabled, using "next word" operations will move the cursor to each upper case letter of the word. When disabled, "next word" operations will move immediately to the end of the entire word.
Camel Case Navigation Enabled
Extend Selection to Next Word
lcdPutCur(1, 0); | lcdPutCur(1, 0); | lcdPutCur(1, 0); | lcdPutCur(1, 0); |
Cursor at beginning | Cursor between 'd' and 'P' | Cursor between 't' and 'C' | Cursor at end |
Ctrl+Shift+➜ | Ctrl+Shift+➜ | Ctrl+Shift+➜ |
Camel Case Navigation Disabled
Extend Selection to Next Word
lcdPutCur(1, 0); | lcdPutCur(1, 0); |
Cursor at beginning | Cursor at end |
Ctrl+Shift+➜ |
Next word operations include:
Delete Next Word | Ctrl+Delete |
Insertion Point to Next Word | Ctrl+➜ |
Extend Selection to Next Word | Ctrl+Shift+➜ |