Add Folder To Project in MPLAB® X IDE
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.
Click image to enlarge.
Open Dialog to Select Folder
Click on the Add Folder… button.
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.
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 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.
Click image to enlarge.




