4 ms·
multiple cursor is basic editor 101. programmer' text editor need to have it as bare minimum. otherwise, i would have to go to sublime or vscode for text edit
by rk06 10mo ago
multiple cursor is basic editor 101.
programmer' text editor need to have it as bare minimum. otherwise, i would have to go to sublime or vscode for text editing and then I will wonder why should I bother with this editor.
- cake-rusk 10mo agoYes I get that its a basic requirement for some people. I am asking why.
- enricozb 10mo agoToday'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-rusk 10mo agoGot it. Thanks for sharing.
- az09mugen 10mo agoA use case I have also is the creation of a switch case from a list of enums
- cake-rusk 10mo agoNice one!