Skip to content

Commit

Permalink
Use File Icon for TS Path Completions (#17434)
Browse files Browse the repository at this point in the history
Part of #17331

Updates path completions for directories and files to use a file icon instead of the generic icon they currently use.
  • Loading branch information
mjbvz authored Dec 16, 2016
1 parent bbe153d commit 70f25d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/typescript/src/features/completionItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 70f25d0

Please sign in to comment.