Vector Replace is extension of Visual Studio Code for replacing multiple words.
Open the text editor, you will see the navigation menu of Vector Replace on top left. Click this menu icon to open a view of the search and replace settings.
Enter search and replace text and click the "Replace" button, then text will be replaced on the active text editor.
In this extension, search text and replace text are specified multiple per line. See the following image:
If you specify like this in the search pane, 'a' is searched at first, 'b' is searched next, and 'c' is searched at last. Further, if you specify as above in the replace pane, 'a' will be replaced by '1', 'b' will be replaced by '2', and 'c' will be replaced by '3'.
If checking this, search and replace target are limited into selection ranges.
If checking this, can use regular expression in the search pane. Also, can use the capturing replace by using '$'.
This setting can be enabled when 'Use regular expression' is enabled. If checking this, each search strings are interpreted that those are enclosed in parentheses, so always can use '$1' as whole search string on replace.
If checking this, can be ignored upper/lower case when searching.
If checking this, can be ignored rows that start with '!' in the search pane. If you want to search for '!' itself, start with '!!'.
If checking this, can be ignored rows that start with '!' in the replace pane. If you want to replace for '!' itself, start with '!!'.
This check cannot be changed. In the search pane, empty rows are ignored.
If checking this, can be ignored empty rows in the replace pane.
If checking this, search strings are looped. When a search string reaches to the end, and returns to the beginning of search strings.
If checking this, replace strings are looped. When a replace string reaches to the end, and returns to the beginning of replace strings.
If checking this, the search will not be match when only matches until a part of all search strings. For example, loop search is enabled and search strings are 'a', 'b', 'c', then 'abcab' is matched by only 'abc'.
If checking this, each search strings will be searched from all of text on the editor. Each replace strings will be corresponded to each search strings.
Fix background color in the setting view #14
Fix README.md
Features:
- Matrix search (#6)
- Improve performance (#12)
- Progress bar (#13)
Fix bugs:
- Backslash escape sequence is not working #11
Features:
- Capture whole each search strings when regular expression is enabled #7
- Selection search #9
Fix bugs:
- When replace is done, the display of the search mark collapses for a moment #8
- Wrong behavior when 0 length string is matched #10
Update packages.
Update packages.
Fix new line searching behaviour.
Fix fatal bug that cannot responds if returns 0 length string, such as '.*'.
Update packages.
Initial release.