how to remove a source code file from the project

Started by ddainelis1, December 19, 2025, 06:17:38 PM

Previous topic - Next topic

ddainelis1

a project "A" was created using the project wizard. The project has a main and three function B, C, and D.  the functions are in three files B, C, and D.  the function in file C had execution errors.  so, a new file was created called CA and added to the project to help debug the original C function.  i added C1 to the project thru the IDE via "project => add files to project.    Now c1 show in the project window on the right side of screen. Now a day latter issue resolved.   how do I delete C1 from the project and project window in the ide?









Michele

Right click the file in the project pane, a popup menu will appear. Select delete file entry in the menu, you'll get a message box asking if you really want to remove file from project. Click yes. The file will be removed.
If you check the chekbox to delete also the physical file it will be removed also from the disk.
Warning: if you remove the file from disk you can't recover it anymore from the recycle bin.

Vortex

Code it... That's all...

ddainelis1

Let me start out by saying thank-you for your help. 

now bit of history....  I'm retired and needed a mental challenge. so I'm attempting to resurrect an old Dartmouth basic interpreter(sp). So, 12 years ago while teaching c-101 at a local community college Pelles c was the tool used. I loved it. 12 years down the road my computer environment has changed as follows... an iMac m4, MacBook Air and a dell "sandwich" sized windows 11 box.  The W11 box has several legacy apps that only run under windows.  Pelles C is one of those apps.  I do  most of my Pelles C work from my MacBook Air via windows app.

the explanation above sounds what I expected Pelles C should do.   I was hoping there would be a menu choice similar to the add files to delete files.  However, I need to figure out how to do a right click on the MacBook Air. 

again thank-yo for your help

John Z

#4
Welcome to the forum.

If you can't figure out Maxbook air right click, let the forum know. There are manual edits that could be made, but not recommended so only last resort.

Also possible an Add-In might be created to add feature to the menu.

Best case though is search for method to right click, many things in "Windows" require it.

John Z

Michele

Quote from: ddainelis1 on December 21, 2025, 05:33:09 PMthe explanation above sounds what I expected Pelles C should do.   I was hoping there would be a menu choice similar to the add files to delete files.  However, I need to figure out how to do a right click on the MacBook Air. 

again thank-yo for your help

You're welcome.
I don't have a MAC, but this Link should be helpful.
Some more help is available on APPLE site.