How Do I Compile From Within MPLAB X IDE?

MPLAB X IDE User’s Guide and online help provide directions for setting up a project in the MPLAB X integrated development environment.

Alternatively, download the MPLAB® XC8 User’s Guide for Embedded Engineers (DS50002400) from the Documentation tab on the Compilers’ web page or open the MPLAB® XC8 Getting Started Guide (DS50002173) from the compiler’s docs directory.