Skip to content

Commit 21431fc

Browse files
authored
Disable canSelectFolders in markdown link inserter (microsoft#164636)
Fixes microsoft#164549
1 parent b38691f commit 21431fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/markdown-language-features/src/commands/insertResource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class InsertLinkFromWorkspace implements Command {
2424

2525
resources ??= await vscode.window.showOpenDialog({
2626
canSelectFiles: true,
27-
canSelectFolders: true,
27+
canSelectFolders: false,
2828
canSelectMany: true,
2929
openLabel: localize('insertLink.openLabel', "Insert link"),
3030
title: localize('insertLink.title', "Insert link"),

0 commit comments

Comments
 (0)