Remove highlighting from search results or selection matches

After you've searched for and found a variable's or function's name, you may want to remove the highlighting that enabled you to find it. Follow the steps below to see an easy way to remove the highlighting.

MPLAB X IDE's editor will highlight each instance where a match has been found from either a search or when some text is selected in the editor. For example if you select (highlight) a variable's name, each instance of that variable within the file will also be highlighted and indicated with a gold bar in the error stripe. While this feature can be invaluable for finding what you are looking for, it can also be a nuisance when you are done and no longer wish to see all those items highlighted. With the default settings, the highlighted items will not return to normal until you select or search for another item. To change this behavior and make it so that clicking in blank space will remove the highlighting, do the following:

1

From the main menu select Tools ▶ Options

customize_editor1.png

2

In the window that opens, click on the C/C++ icon along the top then uncheck the Keep Marks option

highlight2.png

To disable the highlighting feature altogether, uncheck the Mark Occurrences Of Symbol Under Caret option.

3

Click the OK button

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