3.2.1 How Do I Compile From Within MPLAB X IDE?
The MPLAB® X IDE User’s Guide and online help provide directions for setting up a project in the MPLAB X integrated development environment. Alternatively, the MPLAB® XC8 User’s Guide for Embedded Engineers (DS50002400) has a step-by-step introduction to creating projects using the compiler and IDE.