Skip to content

Commit 9409516

Browse files
Update quickinfo formatting.
1 parent 82160d1 commit 9409516

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/services.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,9 @@ module ts {
22772277
totalParts.push({ text: " ", kind: SymbolDisplayPartKind.space, symbol: undefined });
22782278
}
22792279
else if (symbol.flags & SymbolFlags.TypeParameter) {
2280+
totalParts.push({ text: "(", kind: SymbolDisplayPartKind.punctuation, symbol: undefined });
2281+
totalParts.push({ text: "type parameter", kind: SymbolDisplayPartKind.text, symbol: undefined });
2282+
totalParts.push({ text: ")", kind: SymbolDisplayPartKind.punctuation, symbol: undefined });
22802283
}
22812284
else {
22822285
addType = true;
@@ -2304,7 +2307,8 @@ module ts {
23042307
symbol.flags & SymbolFlags.EnumMember ||
23052308
symbol.flags & SymbolFlags.Variable) {
23062309

2307-
totalParts.push({ text: ".", kind: SymbolDisplayPartKind.punctuation, symbol: undefined });
2310+
totalParts.push({ text: ":", kind: SymbolDisplayPartKind.punctuation, symbol: undefined });
2311+
totalParts.push({ text: " ", kind: SymbolDisplayPartKind.space, symbol: undefined });
23082312
}
23092313

23102314
if (addType) {

0 commit comments

Comments
 (0)