mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-21 18:59:15 +00:00
Disable canSelectFolders in markdown link inserter (#164636)
Fixes #164549
This commit is contained in:
@@ -24,7 +24,7 @@ export class InsertLinkFromWorkspace implements Command {
|
||||
|
||||
resources ??= await vscode.window.showOpenDialog({
|
||||
canSelectFiles: true,
|
||||
canSelectFolders: true,
|
||||
canSelectFolders: false,
|
||||
canSelectMany: true,
|
||||
openLabel: localize('insertLink.openLabel', "Insert link"),
|
||||
title: localize('insertLink.title', "Insert link"),
|
||||
|
||||
Reference in New Issue
Block a user