Skip to content

Support wildcards for configuring "codeLens. path" #5253

@zhujiageng

Description

@zhujiageng

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions