Workflow for MPLAB® Extensions for Visual Studio Code

Last modified by Microchip on 2024/06/26 15:02

MPLAB Extensions logo

Workflow for MPLAB X IDE Users Familiar with Microsoft® Visual Studio Code (VS Code)

If you are unfamiliar with using Visual Studio Code (VS Code), start with the "Learn MPLAB® Extensions for Visual Studio Code" page.

To create a new project:

  • Run the command MPLAB: Create New Project and follow the wizard

To import an MPLAB X IDE project:

  • Open the project folder (File > Open Folder) and then follow the import suggestion

To configure a project:

  • Run the command MPLAB: Edit Project Properties (UI) or 
  • Run the command MPLAB: Edit Project Properties (JSON) or
  • Open the project file manually

To build a project:

  • Use the keyboard shortcut Ctrl/Cmd + Shift + B or
  • Run the command MPLAB CMake: Full Build or
  • Use the Hammer tool

To create a debug configuration for a new project:

  • Run Debug: Add Configuration and select MPLAB Debugger

To launch a debug session:

  • Use the keyboard shortcut F5 or
  • Select the configuration from the Run and Debug view