'Replace without finding next match
Is there a way to only replace the current match in the current editor/file, without going to the next match in Visual Studio Code?
The replace button has the functionality of replace, find next match and scroll to the position of the next match.
With complex RegEx replacements I sometimes want to see the result of the replacement before going to the next.
Solution 1:[1]
If you're looking to replace all occurrences without having to go one by one you can achieve this by using the left side menu.
1.Search for the occurrence you would like to replace
3.Write the replacement string
4.Click on save all next to it.
5.You'll be asked if to do replace all for all the occurrences in the whole project. click yes and there you have it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ran Turner |

