hawkerm / monaco-editor-uwp

A Windows Runtime Component wrapper around the web-based Monaco Editor.
MIT License
153 stars 36 forks source link

Suggestions not showing #20

Closed beraybentesen closed 6 years ago

beraybentesen commented 6 years ago

When pressing "." suggestions not showing (it shows when I start typing.

hawkerm commented 6 years ago

@beraybentesen I haven't exposed the intellisense configuration apis yet, but it's on my roadmap. However, I think except for some basic JavaScript, you have to provide the specification to the Monaco engine. Normally most of that is implemented through extensions to VS Code which pass it into Monaco, I believe.

What language are you looking at providing suggestions for?

beraybentesen commented 6 years ago

C/C++. Would you suggest anything that I can work for implementation ?

hawkerm commented 6 years ago

I should be looking at exposing some of the events to C# in the next couple of weeks, but until then, if you're not afraid of JavaScript, you could inject your custom scenario into the Monaco initialization for the control.

They have fairly good examples and docs on their site about how to use their API.

hawkerm commented 6 years ago

@beraybentesen, I added the CustomItem provider in 0.7, so this scenario should be available now.