AzaIndustries / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

Replace in this scope is not supported #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Entered 'something' in 'Find what'
2. Entered 'replacement' in 'Replace with'
3. Selected "Directory include sub-folder" in Options
4. Selected 'All Documents in Directory'
5. Click "Replace All"

What is the expected output? What do you see instead?

I expected the replacement to be applied to all files under the given directory.

Instead I get the message 'Replace in this scope is not supported'

What version of the product are you using? On what operating system?
0.5.2

Please provide any additional information below.

Maybe it's not a bug, and this has not been implemented yet, but I hope it 
works, not only for opened documents.

Original issue reported on code.google.com by eposse on 3 Nov 2010 at 11:30

GoogleCodeExporter commented 8 years ago
As you say, it's not a bug. It's not implemented because i don't find a good 
method to replace in documents that are not opened. In fact, it's recommended 
to review the replacements before saving  them, because there are no guarantee 
that the plugin won't destroy your documents.

Original comment by swatch.c...@gmail.com on 4 Nov 2010 at 12:26

GoogleCodeExporter commented 8 years ago
There's no plan to implement the "replace all documents in directory" feature 
because i don't want to implement a "replace all" feature that can not be 
"undo".

Original comment by swatch.c...@gmail.com on 10 Nov 2010 at 3:01

GoogleCodeExporter commented 8 years ago
"There's no plan to implement the "replace all documents in directory" feature 
because i don't want to implement a "replace all" feature that can not be 
"undo"."

This sort of defeats the reason to have the "advanced find/replace" in the 
first place. I just thought I could start use gedit again.

Original comment by fsando...@gmail.com on 19 Mar 2011 at 10:13

GoogleCodeExporter commented 8 years ago
I must agree with fasando.  This is a necessary feature.  

Original comment by light24b...@gmail.com on 10 Aug 2012 at 4:19

GoogleCodeExporter commented 8 years ago
Agree with the two previous posters.
For me this was the single reason to download the plugin: to be able to find 
replace in multiple documents, opened or not (in directories).

Original comment by r...@wetransfer.com on 20 Aug 2012 at 10:28

GoogleCodeExporter commented 8 years ago
Agree with previous three posters. no reason for me to use this plugin. 

Are there any plugins that will do what we want (without the misleading title?).

Original comment by Jarrod.E...@gmail.com on 1 Apr 2013 at 8:02

GoogleCodeExporter commented 8 years ago
While not the solution for all cases, it would be useful the option to open all 
files matching the search and then apply the replacement to open files.

Original comment by gabriel.tandil@gmail.com on 16 Jul 2013 at 11:46

GoogleCodeExporter commented 8 years ago
Like most people here, directory scope replace was the whole reason I 
downloaded and installed this "advanced" plugin.  I was in a huge rush and 
instead of helping this just wasted my time.   I feel betrayed.

Original comment by leifh...@gmail.com on 19 Mar 2014 at 2:03

GoogleCodeExporter commented 8 years ago
There is an easy fix for this. 

Why doesn't the advanced plugin just open the files with changes to be made in 
new tabs. The files will automatically be saved so once it's done you can 
simply close gedit, or you can look through each file to see the changes made.

It would be a luxury to have all the words replaced be highlighted.

This way the plugin will actually do what people think it does.

Original comment by stol...@gmail.com on 23 Aug 2014 at 6:54

GoogleCodeExporter commented 8 years ago
I suggest give a warning before replace or ... copy file to backup folder and 
then replace 

Original comment by eko...@gmail.com on 19 Aug 2015 at 4:59