The BEST Way to Refactor in VS Code #vscode

preview_player
Показать описание
This shortcut can save you lots of time when refactoring!

**Newsletter**

**DISCORD**

**QUESTIONS ABOUT MY SETUP**
Рекомендации по теме
Комментарии
Автор

It's a time saver if you know every instance in the file needs to be changed, but if not you could also use the find and replace and select individual instances.

codingtranquility
Автор

Try CMD + Shift + L on Mac

You can also select the text casing on the top right overlay option.

ajmalsalim
Автор

really appreciate keep sharing vids like this ❤

asdflkjasdfasdlfkj
Автор

Hi James, did you see a latest version of VS Code 1.87 that has a copilot rename suggestions? It seems really cool, but in my case somehow doesn't work. Did you try that already? Thanks!

ondrejhavazik
Автор

I prefer select the variable or function name and hit Ctrl + Shift + F to search across multiple files, it has a case sensitive option too

ShutDownXXX
Автор

My favourite LSP feature. In any editor.

NickyTheRook
Автор

I found this doesn't always work correctly, so I pref to just CTRL + D until I selected every with that specific name.

JustiXNL