Page 1 of 1

IDE: (Search and) Find in Files

Posted: Sat Oct 19, 2013 5:52 pm
by NicknameFJ
Hi,

I just work on different projects, some are PB-project files [*.pbp] with many *.pb Sourcefiles and some smaller project are just single *.pb Sourcefiles where I don't use the project management system of the IDE, but it makes no difference and it is not the point of my request, it's justs for for explanation.

Let's say, I select "Edit/Find in files" in the main menu and I want to search in one root directory (the directory of my first project). I type the directory in the field or select it from the selection gadget. I'll do the search and find what I want :D

Then, on another day, I will work on my second project and want to search in the project files of that project. I have to choose another root directory for searching.

On the third day I want to keep on working with my first project and want to do a search in my first root directory but there is still the entry with the root directory from my second project.

Is it possible, that the root directory is saved in the project file (*.pbp) for each project or in the *.pb Sourcefile if you don't use the project management system of the IDE.

I'm looking forward for that.

NicknameFJ

Re: IDE: (Search and) Find in Files

Posted: Sat Jul 20, 2024 2:58 am
by tua
I really want to second this request - the current 'Find in files' behaviour has tripped me (and I am sure plenty of others) up countless times.

I propose the following (sitting behind a flag that users can turn on/off):

Every time a project is opened that is different from the last one, do this with the 'Find in files' dialog:

- clear the 'Search for' input field
- set the 'Root directory' to the root directory of the current project

Now users will no longer accidentally search for their search criteria in the previous project