I'm working with the Configure javascript defaults
example from the monaco editor playground.
When I start typing the pre-defined class, I get autocompletion, but I need to hit ctl+space one time to see the actual documentation of the suggestions.
Is there a way to set this option by default so that autocompletion will show the docs by default open?
This is the only thing I changed in the code:
monaco.languages.typescript.typescriptDefaults.addExtraLib([
'/**',
' * Know your facts!',
' */',
'declare class Facts {',
' /**',
' * Returns the next fact',
' */',
' static next():string',
'}',
].join('\n'), 'filename/facts.d.ts');
How it opens right now:
How I want it to open by default: