vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Optimize the search logic for launch.json

Open testforstephen opened this issue 3 years ago • 0 comments

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.

testforstephen avatar Nov 01 '22 03:11 testforstephen