View two files simultaneously in MPLAB® X IDE

Often, in the course of a project's development, we want to be able to look at one source file while working on a second source file. You can split the editor window either horizontally or vertically to view two (or more) files simultaneously.


Split the Editor Window Between Two Files

Click on a tab in the editor and drag it away from the top of the editor window. You should see a red outline appear in the window that moves depending on where you move the mouse while dragging the tab.

The red outline indicates where the tab will snap into place when you release the mouse button.

  • To split the window horizontally, drag the tab to the left or right side of the editor window until the red outline appears as a box along the side, then release the mouse button.
  • To split the window vertically, drag the tab to the bottom of the editor window until the red outline appears as a box along the bottom (as shown in the image below), then release the mouse button.


Resize the Split Window

To resize the proportions of a split window move the mouse to the line that divides the two panes. The cursor should become a double ended arrow. Click and drag to change the portion of the window allotted to each pane.


MPLAB® X IDE allows the user to re-arrange and re-size all the windows. Occasionally, you might unintentionally place a window in a hard-to-use location or put it in a place which is difficult to access, MPLAB X IDE provides a utility for Restoring Window locations.

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