User forums > Using Code::Blocks
Project wide replace without opening all files?
Tobi:
Is there a way in Code::Blocks to turn off project wide replace opening all files in which it does replacements?
I couldn't find this in the settings, sorry if I missed it :-)
If this isn't possible yet then this is a feature suggestion again :P
ollydbg:
you mean : let the code::blocks only do replacements in opened files?
Tobi:
No, I mean, now when I do project wide replacement, C::B open alls files in which it does replacements. (I presume so you can undo?)
I want it to not open any files, just do the replacement without opening the file in the editor.
If I want undo I restore backup or revert using my version control system :-)
Is this possible?
ollydbg:
sorry, I still can't understand what's you means.
First, you can right click on the tab, and select "close all" to close all tabs.
--- Quote ---If I want undo I restore backup or revert using my version control system
--- End quote ---
what does this sentence mean?
Jenna:
--- Quote from: Tobi on December 17, 2008, 12:36:33 pm ---No, I mean, now when I do project wide replacement, C::B open alls files in which it does replacements. (I presume so you can undo?)
I want it to not open any files, just do the replacement without opening the file in the editor.
If I want undo I restore backup or revert using my version control system :-)
Is this possible?
--- End quote ---
As far as I know: no.
But what about a feature request or even better creating a patch ?
The user should be able to chose if he/she wants to force replacement without to (visibly) open the files and of course be warned that an undo is impossible then.
--- Quote from: ollydbg on December 17, 2008, 01:55:28 pm ---sorry, I still can't understand what's you means.
First, you can right click on the tab, and select "close all" to close all tabs.
--- Quote ---If I want undo I restore backup or revert using my version control system
--- End quote ---
what does this sentence mean?
--- End quote ---
"Close all" or "Close all other" does what it says: closing all files and that's normally not wanted, even if the user just did a "Replace in files".
The second means that Tobi uses a backup and/or a version control system to be able to restore damaged files/filesystems (either by hardware or user errors) in (mostly) any cases.
Navigation
[0] Message Index
[#] Next page
Go to full version