Comment on Flow – A Programmer's Text EditorparentComments−cake-rusk8moYes I get that its a basic requirement for some people. I am asking why.−enricozb8moToday's usage from what edits I can recall:- I wanted to edit the visibility (pub -> pub(crate)) of most but not all functions in a class.- I changed a macro to not require commas in a list of items it took in as input.- I changed a function to deal with utf-8 codepoints instead of bytes, so I wanted to rename all uses of "byte" to "char".Basically, localized find and replace, with a bit of flexibility.−cake-rusk8moGot it. Thanks for sharing.−az09mugen8moA use case I have also is the creation of a switch case from a list of enums−cake-rusk8moNice one!
Comments
Yes I get that its a basic requirement for some people. I am asking why.
Today's usage from what edits I can recall:
- I wanted to edit the visibility (pub -> pub(crate)) of most but not all functions in a class.
- I changed a macro to not require commas in a list of items it took in as input.
- I changed a function to deal with utf-8 codepoints instead of bytes, so I wanted to rename all uses of "byte" to "char".
Basically, localized find and replace, with a bit of flexibility.
Got it. Thanks for sharing.
A use case I have also is the creation of a switch case from a list of enums
Nice one!