7
 Followers
36
 Likes

Replace only a selection of the find results

Service Studio
On our radar
It would be nice to be able to choose several (not necessarily all) results of a Find, and replace only the selected ones
Created on 2 Oct 2010
Comments (19)

That would be indeed very useful!

Merged this idea with 'Replace single usages OR, select usages to replace in Usages results dialog.' (created on 06 Apr 2018 13:32:15 by Albert Swart)

Hi Outsystems Dev Team,

Replace all usages has been a very handy tool recently.

In using it, i did find that being able to selectively replace a usage might be helpful.

I.e. Right-click on an usage in the Usages dialog and choose to replace it, or even a column in which on can select which usages to ignore via a tickbox or some such.

I recently cloned/copied an application and thought that it might be a bit easier to replace things step by step, rather than all at once.

Thanks 

Albert



Merged from 'Replace single usages OR, select usages to replace in Usages results dialog.' (idea created on 06 Apr 2018 13:32:15 by Albert Swart), on 06 Jul 2018 14:54:28 by Vasco Pessanha

Changed the category to Service Studio




Merged from 'Replace single usages OR, select usages to replace in Usages results dialog.' (idea created on 06 Apr 2018 13:32:15 by Albert Swart), on 06 Jul 2018 14:54:28 by Vasco Pessanha

Low hanging fruit interface suggestion: when you select one or more result rows, change button to "Replace selected usages"



Merged from 'Replace single usages OR, select usages to replace in Usages results dialog.' (idea created on 06 Apr 2018 13:32:15 by Albert Swart), on 06 Jul 2018 14:54:28 by Vasco Pessanha
Merged this idea with 'When we search inside SS we should be able to remove items from the Result and then Replace all usages in the result' (created on 03 Feb 2014 10:37:25 by Romeu Azevedo)
When we search inside SS for example for a word 'Description' and we only want to change that in the labels, we should be able to remove items from the Search Result and then Replace all usages in the result.

Merged from 'When we search inside SS we should be able to remove items from the Result and then Replace all usages in the result' (idea created on 03 Feb 2014 10:37:25 by Romeu Azevedo), on 10 Jul 2018 07:45:40 by Vasco Pessanha
Hi Romeu,

Agree, the Search feature needs to be updated. It still has the same features from quite some SS versions now...
I would like some Search related ideas were implemented....
Your idea is about use some kind of filter in the search results. This idea is about having more then one tab of results/finding usages. They complement each other and should both be implemented.

Cheers,
JA

Merged from 'When we search inside SS we should be able to remove items from the Result and then Replace all usages in the result' (idea created on 03 Feb 2014 10:37:25 by Romeu Azevedo), on 10 Jul 2018 07:45:40 by Vasco Pessanha

Hey Romeu,

Thanks for your idea, completely agree with the use case1

The way we see this is not actually "removing find results" to replace them all, but rather being able to replace just a subset of the results.

There is already an ideia for this, and I'll merge them.

Keep the ideas coming ;)



Merged from 'When we search inside SS we should be able to remove items from the Result and then Replace all usages in the result' (idea created on 03 Feb 2014 10:37:25 by Romeu Azevedo), on 10 Jul 2018 07:45:40 by Vasco Pessanha
Merged this idea with 'replace all with selected items' (created on 10 Dec 2018 17:09:32 by Thiago Mari)

I would like to have a "replace all" but with the elements I choose from the list.


For example, imagine a certain variable that is used in the Form, in the preparation and in some actions of a certain page, when doing "Find Usages" the list is shown and I just select the actions and when doing the right button, I choose "Replace all "and a pop up pops up as is already the normal behavior of this functionality



This comment was:
- originally posted on idea 'replace all with selected items' (created on 10 Dec 2018 by Thiago Mari)
- merged to idea 'Replace only a selection of the find results' on 31 Dec 2018 09:43:13 by Vasco Pessanha
Merged this idea with 'Allow to remove object from occurrences found' (created on 13 Dec 2018 15:18:14 by Fábio Rodrigues)

Hi,


So, let's imagine I have 20 buttons with the string "Save" as a Label,


now let's say I have 3 expressions with the string "Save" aswell, so when I ctrl+F for "Save" it will show 23 occurrences, so if I want to replace all the buttons Label to something other than "Save" I can't since if I use the "Replace all Occurrences" it will replace the expressions aswell.


So my suggestion is,


Add a remove from occurrences found so that we still can replace all without replacing anything we don't want to.




Hopefully I was clear with my idea,


Cheers!





This comment was:
- originally posted on idea 'Allow to remove object from occurrences found' (created on 13 Dec 2018 by Fábio Rodrigues)
- merged to idea 'Replace only a selection of the find results' on 01 Jan 2019 12:52:10 by Vasco Pessanha

Hey Fabio,

Are you talking about just replacing a subset of the results of the find operation?

Cheers,



This comment was:
- originally posted on idea 'Allow to remove object from occurrences found' (created on 13 Dec 2018 by Fábio Rodrigues)
- merged to idea 'Replace only a selection of the find results' on 01 Jan 2019 12:52:10 by Vasco Pessanha

Changed the category to Service Studio




This comment was:
- originally posted on idea 'Allow to remove object from occurrences found' (created on 13 Dec 2018 by Fábio Rodrigues)
- merged to idea 'Replace only a selection of the find results' on 01 Jan 2019 12:52:10 by Vasco Pessanha

Hey Vasco,

Exactly, I would like to change for example just the buttons out of those 23 results, so I should be able to remove the expressions from the Search.

Cheers!



This comment was:
- originally posted on idea 'Allow to remove object from occurrences found' (created on 13 Dec 2018 by Fábio Rodrigues)
- merged to idea 'Replace only a selection of the find results' on 01 Jan 2019 12:52:10 by Vasco Pessanha
+1

I was on the challenge to expose an api based on a existent set of server actions and I need to do a lot of replaces, changing entities to new structures, expressions based on records like Group.Group.id to just Group.Id and so on.

But I cannot restrict the results, be on the search results or be based on a restriction selection during the find operation. Something like

Find on...

Entire module;

Just APIs;

Just Logical set

Just Data set;

Just Interface set;

Not only on Module and element like in this "action".

If I distract myself a bit I change things on server actions side that have to stay as it is.


Merged this idea with 'Improve search elements in visual studio' (created on 15 May 2019 11:07:38 by Victor Salvalagio Pereira)

The search features in Service Studio could be improved to allow us to search (and replace) for something in selected elements, and not in all elements of inside an action or screen.




This comment was:
- originally posted on idea 'Improve search elements in visual studio' (created on 15 May 2019 by Victor Salvalagio Pereira)
- merged to idea 'Replace only a selection of the find results' on 15 May 2019 11:10:45 by Vasco Pessanha
views
717
Followers
7