Editor

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.

© 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.