Importing an MPLAB® X IDE Project to VS Code®
Last modified by Microchip on 2025/08/27 14:08
To import an MPLAB® X IDE project into VS Code®, open the project folder and follow the notifications:
- In the command palette, enter File: Open Folder or use (Ctrl + K Ctrl + O).
- Find and select your MPLAB X IDE project folder (<ProjectName>.X).
Your imported project is left unchanged and no changes to project settings are moved back from the VS Code project to the MPLAB X IDE project. Changes made to the code will be reflected in both as long as the files are in the fileset of the project.
If you make changes to your MPLAB X IDE project that you want reflected in your imported project, delete the *.mplab.json file in your .vscode folder to effectively remove your VS Code project. This will trigger a new import the next time you open the folder.