From 70f25d018702d56cf2527bc89d99855102581202 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 16 Dec 2016 15:10:54 -0800 Subject: [PATCH] Use File Icon for TS Path Completions (#17434) Part of #17331 Updates path completions for directories and files to use a file icon instead of the generic icon they currently use. --- extensions/typescript/src/features/completionItemProvider.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/typescript/src/features/completionItemProvider.ts b/extensions/typescript/src/features/completionItemProvider.ts index 1feec25d09c9b..53f89b3946b3a 100644 --- a/extensions/typescript/src/features/completionItemProvider.ts +++ b/extensions/typescript/src/features/completionItemProvider.ts @@ -67,6 +67,9 @@ class MyCompletionItem extends CompletionItem { case PConst.Kind.interface: return CompletionItemKind.Interface; case PConst.Kind.warning: + case PConst.Kind.directory: + case PConst.Kind.file: + case PConst.Kind.script: return CompletionItemKind.File; }