mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Add documentation to signature help
Resolves microsoft/monaco-editor#1698
This commit is contained in:
parent
c050127710
commit
6e6f809173
1 changed files with 1 additions and 0 deletions
|
|
@ -350,6 +350,7 @@ export class SignatureHelpAdapter extends Adapter implements monaco.languages.Si
|
|||
parameters: []
|
||||
};
|
||||
|
||||
signature.documentation = displayPartsToString(item.documentation);
|
||||
signature.label += displayPartsToString(item.prefixDisplayParts);
|
||||
item.parameters.forEach((p, i, a) => {
|
||||
let label = displayPartsToString(p.displayParts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue