We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56905b commit 2363668Copy full SHA for 2363668
extensions/markdown-language-features/src/features/pathCompletions.ts
@@ -275,7 +275,8 @@ export class PathCompletionProvider implements vscode.CompletionItemProvider {
275
276
const isDir = type === vscode.FileType.Directory;
277
yield {
278
- label: isDir ? encodeURIComponent(name) + '/' : encodeURIComponent(name),
+ label: isDir ? name + '/' : name,
279
+ insertText: isDir ? encodeURIComponent(name) + '/' : encodeURIComponent(name),
280
kind: isDir ? vscode.CompletionItemKind.Folder : vscode.CompletionItemKind.File,
281
range: {
282
inserting: insertRange,
0 commit comments