how to in visual studio replace a word in all cod code example
Example 1: visual studio find and replace
//Press Ctrl+F as a shortcut to find a string in the current file.
//Press Ctrl+H as a shortcut to find and replace a string in the current file.
Example 2: how to replace text for same words vs code
(1) Select your code
(2) Ctrl+Shift+L (which is editor.action.selectHighlights)
(3) voila, multiple cursors done - type away.