Skip to content

Commit 1a0797d

Browse files
Ecmel ErcanEcmel Ercan
authored andcommitted
Add item detail
1 parent 37cab88 commit 1a0797d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-html-css",
33
"displayName": "HTML CSS Support",
44
"description": "CSS support for HTML documents",
5-
"version": "0.0.26",
5+
"version": "0.0.27",
66
"publisher": "ecmel",
77
"license": "MIT",
88
"homepage": "https://github.com/ecmel/vscode-html-css",

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ function pushSymbols(key: string, symbols: lst.SymbolInformation[]): void {
166166
while (symbol = regex.exec(symbols[i].name)) {
167167
let item = new vsc.CompletionItem(symbol[1]);
168168
item.kind = symbol[0].startsWith('.') ? dot : hash;
169+
item.detail = path.basename(key);
169170
ci.push(item);
170171
}
171172
}

0 commit comments

Comments
 (0)