global change string vs code code example
Example 1: visual studio code shortcut replace all
Ctrl+Shift+H
// Type new word
Ctrl+Alt+Enter
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.