最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Using the vscode-regex plugin? - Stack Overflow

programmeradmin3浏览0评论

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 mant ctrl + alt + m, but still no love. Any ideas?

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 mant ctrl + alt + m, but still no love. Any ideas?

Share Improve this question edited Jul 18, 2018 at 7:30 Gama11 34.3k9 gold badges90 silver badges106 bronze badges asked Jul 17, 2018 at 20:09 OleOle 47.4k70 gold badges237 silver badges445 bronze badges 1
  • 3 Why the "off-topic" vote to close? Is not "software tools monly used by programmers" specifically on-topic? – John Hascall Commented Jul 17, 2018 at 20:13
Add a ment  | 

1 Answer 1

Reset to default 7

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.

发布评论

评论列表(0)

  1. 暂无评论