I use strings like !*main*.js
to filter out some files. But what if on top of this, I need the files to have 'test' in the file name?
I tried the following but they won't work:
!*main*.js & *test*
!*main*.js && *test*
!*main*.js AND *test*
CodePudding user response:
You can use comma to separate conditions:
!*main*.js,*test*
Alternatively, you can use Scopes: https://www.jetbrains.com/help/go/configuring-scopes-and-file-colors.html