Shorten the tab for open header/source files.
List all extensions that should be matched if the filename is the same. Check Match Full Path to force matching files to be in the same directory.
Select the Advanced Mode Enable box to use custom RegExp patters to determine matched files. List the Regular Expressions in the Advanced Mode Reg Exp box. Files will be considered matches if they have the same information in all capture groups of the same RegExp.
If the text entered is not valid RegExp, the input box will have the error highlight. At least one capture group is expected; if the text is valid regex but is does not contain any capture groups the input box will have the warning highlight. Highlight colors depend on your theme.
module/
projects/
projects.html
projects.js
projects.css
becomes [ projects.html | .js | .css ]
([^/\\]+?)(?:\.js|\.html|\.css)$
Matches Filename, not directory (same as basic mode)
^(.+?)(?:\.js|\.html|\.css)$
Matches Filename and directory (same as basic mode with match full path option)
src/
app/
plugins/
feature1.js
feature1.spec.js
becomes [ feature1.js | .spec.js ]
([^/\\]+?)(?:\.spec\.js|\.js)$
Matches Filename, not directory (same as basic mode)
^(.+?)(?:\.spec\.js|\.js)$
Matches Filename and directory (same as basic mode with match full path option)
src/
app/
plugins/
feature1.js
test/
app/
plugins/
feature1.spec.js
becomes [ feature1.js | .spec.js ]
^(.+?)(?:\/(?:src|test)\/)(.+?)(?:\.js|\.spec\.js)$