replace all in vs code 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: visual studio code shortcut replace all
Ctrl+Shift+H
// Type new word
Ctrl+Alt+Enter