Removing references to deleted files in project -- old file shows up in Find in Files dialog

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Removing references to deleted files in project -- old file shows up in Find in Files dialog

Jump to solution
844 Views
tomlogic
Contributor III

I'm going a little crazy trying to figure this one out.  I used to have a header called "endian.h" in my project.  I renamed it, and now it does not appear in the "Files" or "Link Order" tab of the project.

 

But, whenever I do a Find in Files, it shows up in the list of files for Project headers.  If I search all of the files in the project for "endian.h", it only shows up in comments of other files.  If I double-click on the entry in the Find in Files dialog, CW complains that it can't find the file (which is expected, since I deleted it) and it allows me to remove it from the list.

 

But as soon as I do another Find in Files, it's right back in there.

 

What do I need to do for CW to forget that the file ever existed?

 

-Tom

(CodeWarrior 5.9.0 on S08 processor)

Labels (1)
Tags (1)
0 Kudos
1 Solution
393 Views
kef
Specialist I

I would try deleting projectname_Data folder. You need to close project first.

View solution in original post

0 Kudos
2 Replies
394 Views
kef
Specialist I

I would try deleting projectname_Data folder. You need to close project first.

0 Kudos
393 Views
tomlogic
Contributor III

Brilliant.  That did the trick.  Thanks!

0 Kudos