Editor Usage
The following items are associated with the Editor:
- File Menu to open a file in an Editor window.
- Edit Menu to use edit commands.
- Editor Toolbar located at the top of each file's Editor window to access some edit commands.
- Right mouse click (context) menu for additional commands.
Features
Live Parsing
MPLAB® continuously parses code as you type, allowing it to highlight errors as they occur. Because many mistakes are caught as they happen, the tedious compile-correct cycle one usually has to go through will be dramatically diminished in its duration.
Refactoring
MPLAB's refactoring tools simplify the task of restructuring code without changing its function. For example, if you wanted to change the name of an identifier, refactoring may be used as an alternative to the error-prone process of using search and replace. Because the editor is language-aware, it is able to find and correctly update all instances of the item immediately. [Menu: Refactor ▶]
Code Assistance
As you type your code, the editor will provide lists of possible completions with the most common or most likely options at the top. Code completion is triggered by typing the first letters of a CamelCase word.
Go to File, Go to Type, Go to Symbol
MPLAB makes it easy to navigate to files, types, or symbols with quick keyboard shortcuts or to jump to declarations with a single mouse click.
Typing file or type names into Go To dialogs will perform a case sensitive search across all open projects. [Menu: Navigate ▶]
Insert Code
Not yet functional…
Fully Configurable User Interface
- All windows can be individually positioned
- All windows can be split horizontally or vertically
- Setup custom keyboard shortcuts
- Configurable toolbar buttons
- Configurable behavior for code completion, documentation pop-ups, keyboard shortcuts, editor fonts and colors
- Export and import settings to make a backup of your settings or share them with a team
File History
MPLAB keeps track of the changes you have made to a file. To view the differences between two versions of a file side by side, right-click on file under the Projects tab and select Local History from the popup menu. You can also choose to revert to an earlier version all without the use of a version control system.
Semantic Highlighting
You can set an option so that when you click on a class, function, variable, or macro, all occurrences of that class, function, variable, or macro in the current file are highlighted. For more information visit the "Editing and Navigating C/C++ Source Files - NetBeans IDE Tutorial" page on the Netbean site.