Suppose I search on VS Code the terms \'word1 word2\'. Then it finds all the occurrences where \'word1\' is followed by \'word2\'. In reality I want to find all the files wh
Use regex flag and search for (word1[\s\S\n]*word2)|(word2[\s\S\n]*word1)
(word1[\s\S\n]*word2)|(word2[\s\S\n]*word1)
Made a small extension based on @tonix regex:
https://marketplace.visualstudio.com/items?itemName=usernamehw.search