mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-26 04:34:32 +00:00
Use './' syntax for "Find in files", #18334
This commit is contained in:
@@ -892,7 +892,7 @@ export class SearchViewlet extends Viewlet {
|
||||
const workspaceRelativePath = this.contextService.toWorkspaceRelativePath(resource);
|
||||
if (workspaceRelativePath) {
|
||||
this.inputPatternIncludes.setIsGlobPattern(false);
|
||||
this.inputPatternIncludes.setValue(workspaceRelativePath);
|
||||
this.inputPatternIncludes.setValue('./' + workspaceRelativePath);
|
||||
this.searchWidget.focus(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user