Hacker News new | ask | show | jobs
by alganet 1255 days ago
Sure can do!

Here it is: https://streamable.com/vwj0hs

I did three things there:

1. Replace the prefix of several variables from `$mock` to `$stub`

2. Added a prefix to all properties of the object `$r`, which left the camelCasing missing an uppercase letter, I selected that letter on all properties and used "Transform To Uppercase" action on VSCode to camelCase it properly back again.

3. Aligned some keys of two arrays. I selected them, placed some minimal spacing, then hit `Home` to align the cursors to indentation, then used `Ctrl+Delete` to trim the added spaces.

I'll try the range based search, I never used something like that and might like it.

1 comments

Thank you very much! Indeed it looks really useful. I hope I can implement it soon.