Find In File

MPLAB® X IDE provides two methods to find something in the file that is currently displayed in the editor.

The first method, which requires the least amount of effort, is to highlight an existing piece of text (e.g. a variable name, function name, or any other text in your code). The editor will automatically highlight with gold all matches in the current source file. In addition, a gold bar will appear in the error stripe at the far right to indicate the relative position of all instances that have been found in the file. Clicking on a bar in the error stripe will take you to that instance of the highlighted item.

Click image to enlarge.

The second method, which is mostly used when you are searching for something that isn't presently visible to highlight, is to select from the main menu Edit ▸ Find…. This will display a bar at the bottom of the editor which contains a text box where you can type in your search term. All matching terms will be highlighted in orange and a gold bar will appear in the error stripe at the relative position in the file of each instance that was found.

Click image to enlarge.

20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 2016 Microchip Technology, Inc.
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.