I've installed the vscode-regex plugin and I'm now attempting to get it to work. I have the following javascript and text document side by side in VSCode:
However I'm not getting any matches in the email.txt document. I tried the keyboard commant ctrl + alt + m, but still no love. Any ideas?
-
3Why the "off-topic" vote to close? Is not "software tools commonly used by programmers" specifically on-topic?John Hascall– John Hascall2018年07月17日 20:13:20 +00:00Commented Jul 17, 2018 at 20:13
1 Answer 1
The instructions of the VS-Code Regex Preview Plugin look straightforward: Just open the test and the sample in side-by-side view, hit the hotkey Ctrl+Alt+M (⌥⌘M).
Unfortunately, I run into the same and could not get it working initially.
The solution: I've used the hotkey, then click the grey link: Test Regex...
Actually, the link and the hotkey do the same. However, the hotkey only works after the matching has been triggered by the link or clicking the actual regex pattern (as mentioned by Mark) first.
Explore related questions
See similar questions with these tags.