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