feat(language-service): Show documentation on hover (#34506)

This commit adds dpcumentation to the hover tooltip.

PR closes https://github.com/angular/vscode-ng-language-service/issues/321

PR Close #34506
This commit is contained in:
Keen Yee Liau
2019-12-19 18:33:26 -08:00
committed by Alex Rickabaugh
parent ba2fd31e62
commit c079f38cbb
8 changed files with 70 additions and 4 deletions

View File

@ -43,6 +43,10 @@ export const createGlobalSymbolTable: (query: ng.SymbolQuery) => ng.SymbolTable
callable: true,
definition: undefined,
nullable: false,
documentation: [{
kind: 'text',
text: 'function to cast an expression to the `any` type',
}],
members: () => EMPTY_SYMBOL_TABLE,
signatures: () => [],
selectSignature(args: ng.Symbol[]) {