Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Search doesn't seem to include files without extension?
Search doesn't seem to include files without extension? [message #1767533] Thu, 06 July 2017 21:16 Go to next message
Anoop Karollil is currently offline Anoop KarollilFriend
Messages: 2
Registered: July 2017
Junior Member
I have a project with a Makefile but not really a C or C++ project. I was trying to search for a string within all files in the project and I was surprised to find that the search didn't find the string in the Makefile. Suppose I rename the Makefile to have an extension, it works fine. Am I doing something wrong?

Version details:

Eclipse IDE for C/C++ Developers

Version: Oxygen Release (4.7.0)
Build id: 20170620-1800

Re: Search doesn't seem to include files without extension? [message #1767668 is a reply to message #1767533] Sun, 09 July 2017 03:06 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
A CDT project has a .cproject file.

You may need to ensure:
1) the file name pattern is '*'
2) Derived resources has been selected
3) the Scope includes the project to be searched.

With the following File Search
index.php/fa/29900/0/

Had the following result:
index.php/fa/29901/0/

The working set selects the Hello project.
The makefile was not searched until Derived resources was selected.
Re: Search doesn't seem to include files without extension? [message #1771507 is a reply to message #1767668] Fri, 25 August 2017 20:24 Go to previous message
Anoop Karollil is currently offline Anoop KarollilFriend
Messages: 2
Registered: July 2017
Junior Member
I did have the pattern as '*.*' which returns all files but with an extension. My fault. Thanks a lot David for the detailed reply.
Previous Topic:Error in remote debugging with arm processor
Next Topic:avr-gcc problem
Goto Forum:
  


Current Time: Wed Apr 24 22:53:00 GMT 2024

Powered by FUDForum. Page generated in 0.02402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top