Qt Creator: Search and replace in whole project
Would be nice to have the ability to do a search and replace in whole project.
7 replies
I think that the dialog that shows up when you press Ctrl+Shift+F it’s something similar to what you’re looking for.
I’m using Qt Creator 1.3.1 and I don’t know if its available in older versions.
Edit: Now I’ve checked the dialog I told you and I have seen that it lacks of replacement feature :(
But then I remembered other shortcut that I think that it does what you want: Set the cursor over the text that you want to replace in the whole project and then press Ctrl+Shift+R , then in the Search Results panel it will appear a tree of the files and lines where the text that you searched appears and a line edit where you can write the new text.
This feature has been added for Qt Creator 2.0. Don’t wait for the final release, try a nightly build [ftp.qt.nokia.com] or the beta release [qt.nokia.com]! :-)
(nightlies are more recent and should generally be more stable at this point)
You must log in to post a reply. Not a member yet? Register here!








