matepek / vscode-catch2-test-adapter

Catch2, Google Test and doctest Adapter for the VSCode
https://marketplace.visualstudio.com/items?itemName=matepek.vscode-catch2-test-adapter
MIT License
209 stars 52 forks source link

Add custom file extension pre-filter #415

Closed Abasz closed 8 months ago

Abasz commented 10 months ago

Checklistí

Is your feature request related to a problem? Please describe. Currently on windows anything that "NOT ends with .exe, .cmd or .bat." will be filtered out.

My compiled test files are ending with an .out extension. This is due to other external requirements and cannot be changed, so I cannot have .exe or any other extension that would not get filtered out.

Describe the solution you'd like I would like to have the option to set a regex matcher (or specify additional extension) which are not filtered out.

Describe alternatives you've considered Currently I edit the main.js file manually and I add the .out text it to l=new Set([".exe",".cmd",".bat"]) (which is basically the win32NativeExecutableExtensionFilter variable in the source code)

matepek commented 8 months ago
Fixed in v4.8.3. This issue was mentioned in [CHANGELOG.md](./CHANGELOG.md) under a released entry so it is assumed to be fixed. User verifications are always welcome.
Abasz commented 8 months ago

Tested and works fine. I appreciate your help!