Skip to content

Optimize the search logic for launch.json #1252

Open
@testforstephen

Description

See https://github.com/microsoft/vscode-java-debug/pull/1234/files#r1010024710.

We have some code to search a launch.json file via await vscode.workspace.findFiles(".vscode/launch.json", "**/node_modules/**");, it can be optimized by specifying the workspace folder and maxResult as 1.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions