Viewing a response to: @agrante/re-coderad-sv63yi
i basically mark my life by pre- and post- knowing about multi cursor hahaha
author | coderad |
---|---|
permlink | re-agrante-sv6c4i |
category | hive-169321 |
json_metadata | {"tags":["hive-169321"],"app":"peakd/2025.4.6"} |
created | 2025-04-23 13:57:57 |
last_update | 2025-04-23 13:57:57 |
depth | 2 |
children | 3 |
last_payout | 2025-04-30 13:57:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 76 |
author_reputation | 18,083,391,714,930 |
root_title | "From Move Line to Multi-Cursor and More: My Top 5 VSCode Tips, Tricks and Shortcuts" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,271,674 |
net_rshares | 0 |
When I need mass replace I hit Ctrl + H Not sure how that compares to Ctrl + D exactly, for the purpose of just changing a variable name everywhere.
author | agrante |
---|---|
permlink | re-coderad-sv6cbi |
category | hive-169321 |
json_metadata | {"tags":["hive-169321"],"app":"peakd/2025.4.6","image":[],"users":[]} |
created | 2025-04-23 14:02:42 |
last_update | 2025-04-23 14:02:42 |
depth | 3 |
children | 2 |
last_payout | 2025-04-30 14:02:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 148 |
author_reputation | 78,115,619,717,538 |
root_title | "From Move Line to Multi-Cursor and More: My Top 5 VSCode Tips, Tricks and Shortcuts" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,271,772 |
net_rshares | 0 |
ummm.... the best way i can describe it is it just FEELS different. just crack a piece of code and select something and hit CTL D. since you somewhat manually select each instance, you know 100% what will be changed. plus, no dialog box, you're not entering a serach, entering a replacement, then hitting go.... you're multi selecting and multi editing. i only ever use CTL H if i want to find and replace across multiple files these days.
author | coderad |
---|---|
permlink | re-agrante-sv6ctf |
category | hive-169321 |
json_metadata | {"tags":["hive-169321"],"app":"peakd/2025.4.6","image":[],"users":[]} |
created | 2025-04-23 14:12:54 |
last_update | 2025-04-23 14:12:54 |
depth | 4 |
children | 0 |
last_payout | 2025-04-30 14:12:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 440 |
author_reputation | 18,083,391,714,930 |
root_title | "From Move Line to Multi-Cursor and More: My Top 5 VSCode Tips, Tricks and Shortcuts" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,272,051 |
net_rshares | 0 |
to expand on my last answer a little, it just a whole new paradigm.... i get it, i've used CTL - H for YEARS. but being able to select.... like lets say you have a file with dozens of instances of '**card**' and you want to replace certain early functions that include **card** with **player.card**. you don't want *every* instance of card, that would break your program -- so you double click the first iteration of card (select word) and then hit control D to grab the others you want to modify. if you went one too far? ctl - U unselects that one. so you double click a name, hit CTL D however many times, and then type the new name. like i say, game changer. it's sooooo different than ctl-f ctl-h, its more pinpoint, and so much smarter
author | coderad |
---|---|
permlink | re-agrante-sv6yl8 |
category | hive-169321 |
json_metadata | {"tags":["hive-169321"],"app":"peakd/2025.4.6","image":[],"users":[]} |
created | 2025-04-23 22:03:21 |
last_update | 2025-04-23 22:03:21 |
depth | 4 |
children | 0 |
last_payout | 2025-04-30 22:03:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 743 |
author_reputation | 18,083,391,714,930 |
root_title | "From Move Line to Multi-Cursor and More: My Top 5 VSCode Tips, Tricks and Shortcuts" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,281,422 |
net_rshares | 0 |