-
Notifications
You must be signed in to change notification settings - Fork 340
Description
I manage a monorepo with VSCode, which includes many Flutter apps and libraries. However, I have only one launch.json. Some test files require the --dart-define-from-file flag when running. When they fail, I need to debug these tests, but the default "Debug" codeLens does not include --dart-define-from-file. Therefore, I have defined a new set of codeLenses named Run(TestDefines) and Debug(TestDefines), and I pass the --dart-define-from-file parameter in the args of these codeLenses. But this results in these new codeLenses appearing on all test files, which is not very nice. So I want to enable these codeLenses only in the specific dart_defines_test.dart file. If codeLens.path supported wildcards, I could easily enable these codeLenses only in the required files.