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