Add Folder To Project in MPLAB® X IDE

Last modified by Microchip on 2024/01/18 16:00

Open the Add Folder Dialog

In the Projects Window, right click on the logical folder where you want to add a new logical subfolder containing the new files. Select Add Existing Items from Folders… from the popup menu.

right click on the logical folder
Click image to enlarge.

Open Dialog to Select Folder

Click on the Add Folder… button.

right click on the add folder
Click image to enlarge.

Select Folder

Select a folder that contains files you want to add to the project. The folder need not reside in the project's directory. You can navigate to other directories if necessary.

Select a folder that contains files you want to add to the project.
Click image to enlarge.

Add Folder(s) To Project

After selecting all the folders you want to add to the project, click the Add button.

click the Add button
Click image to enlarge.

You should now see the folder(s) you selected as logical subfolders in the Projects Window.

Inside the folder are all the files it contains.

If the original folder on the hard drive contained subfolders, those will be added as logical subfolders as well. If they don't contain any files you need for the project, it is safe to remove them from the project.

You should now see the folder(s) you selected as logical subfolders in the Projects Window
Click image to enlarge.

Back to Top