List occurrences, remove all feature

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
chloepowell4479
Posts: 2
http://meble-kuchenne.info.pl
Joined: Mon May 03, 2021 8:12 pm
Has thanked: 1 time
Been thanked: 2 times

List occurrences, remove all feature

Post by chloepowell4479 »

currently in the project explorer selecting a function and then listing occurrences brings up all the occurrences you have used.

right-click and remove all, only empties the list.

but I would like to remove all the occurrences I have made to that 1 particular function
A useful feature would be to have a remove all occurrences in the flow code itself and not just clear the list.
especially if you wanted to remove something that you had many of, instead of selecting each one manually

Steve-Matrix
Matrix Staff
Posts: 1243
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: List occurrences, remove all feature

Post by Steve-Matrix »

Thanks for the good suggestion.

There is a workaround to do this currently as icon commands can be removed from the "disabled" icon list. Basically, first ensure no icons are disabled (i.e. make sure the "disabled" tab is empty), then select all results in the "find results" list, right-click them and select "disable". Finally, select all in the "disabled" list, right-click and select "delete".

It's not ideal and I will implement your idea in a future version, but the above workaround might be useful in the current version.

chloepowell4479
Posts: 2
Joined: Mon May 03, 2021 8:12 pm
Has thanked: 1 time
Been thanked: 2 times

Re: List occurrences, remove all feature

Post by chloepowell4479 »

Thanks for the workaround :)
look forward to the future update :P

Post Reply