I consider this a fairly basic feature and one necessary for easy code-maintenance - particularly when splitting up a source into many source files.
Is there any plan to include this in a future version of the program?
Search/replace across all open files?
-
- CodeLite Enthusiast
- Posts: 45
- Joined: Tue Jan 28, 2014 3:03 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
Isn't Find-In-Files / Replace-In-Files enough?
Ctrl-Shift-F -> instead of selecting 'Find' click on 'Replace'
This will perform a search in files and will open a pane with list of matches where you will be able to select which selection you want to replace (and with what)
Eran
Ctrl-Shift-F -> instead of selecting 'Find' click on 'Replace'
This will perform a search in files and will open a pane with list of matches where you will be able to select which selection you want to replace (and with what)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 45
- Joined: Tue Jan 28, 2014 3:03 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
I'll admit I didn't spot this.
It might be a good idea to consolidate the two functions -
adding a 'Search in all workspace files' tickbox to the standard find/replace dialogs would be enough to do so.
It might be a good idea to consolidate the two functions -
adding a 'Search in all workspace files' tickbox to the standard find/replace dialogs would be enough to do so.
-
- CodeLite Enthusiast
- Posts: 45
- Joined: Tue Jan 28, 2014 3:03 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
Just noticed a minor bug-
when doing a Find-across-all-files and using replace, the text in the replacement dialog box is highlighted but the actual selected window is the code editor -
this catches me out every time.
Also, I have to say, the search-and-replace interface is not tremendously good.
Doing it via the standard 'Find' and 'Replace' dialogs with a checkbox for 'all files' would be infinitely more usable.
Look at the way the ConText text editor does it -
M@
when doing a Find-across-all-files and using replace, the text in the replacement dialog box is highlighted but the actual selected window is the code editor -
this catches me out every time.
Also, I have to say, the search-and-replace interface is not tremendously good.
Doing it via the standard 'Find' and 'Replace' dialogs with a checkbox for 'all files' would be infinitely more usable.
Look at the way the ConText text editor does it -
M@
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
I am not familiar with that text editor. Can you please provide some concrete suggestions on how to improve it?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 45
- Joined: Tue Jan 28, 2014 3:03 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
I've already described that.
If you download the ConText code editor from www.contexteditor.org
and look at the Find/replace dialogs, you will see clearly what I mean.
Thanks,
Matt
If you download the ConText code editor from www.contexteditor.org
and look at the Find/replace dialogs, you will see clearly what I mean.
Thanks,
Matt
-
- CodeLite Enthusiast
- Posts: 45
- Joined: Tue Jan 28, 2014 3:03 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search/replace across all open files?
A few other aspects (in addition to the streamlined multifile support) which make the ConText search/replace dialog a bit more usable:
- switchbox to 'Search from Top' of file or from current line-
- undoing search-and-replace operates across all files, not just currently-selected file
- undo undoes all replacements if 'Replace All' is selected, undoes them one-by-one if search/replace is manually checked per instance of found text
- switchbox to 'Search from Top' of file or from current line-
- undoing search-and-replace operates across all files, not just currently-selected file
- undo undoes all replacements if 'Replace All' is selected, undoes them one-by-one if search/replace is manually checked per instance of found text