4.2.1 How Do I Compile from Within MPLAB X IDE?

In MPLAB X IDE, you compile your code by building a project.

For both MPLAB X IDE and MPLAB for VS Code, you compile your code by building a project.

MPLAB X IDE

If creating a new project, see MPLAB X IDE User Guide/WebHelp for how to create, select a compiler for and add code to a project. Then to build the project, right click on top of the project tree and select Build from the context menu.

MPLAB for VS Code

If creating a new project, see Get Started for MPLAB® X IDE Users New to Visual Studio Code (VS Code®) for how to create, select a compiler for, and add code to, a project. Then to build the project, in the command palette enter MPLAB CMake: Full Build or click the hammer icon .

For both IDEs, see also:

XC-DSC Toolchain and Supporting IDEs

4.2.3 How Can I Select Which Compiler Version to Build With?