serdarciplak / BlazorMonaco

Blazor component for Microsoft's Monaco Editor which powers Visual Studio Code.
https://serdarciplak.github.io/BlazorMonaco/
MIT License
432 stars 98 forks source link

How to add/customize Suggestions? #111

Closed txlee22 closed 7 months ago

txlee22 commented 8 months ago

I see in Release 3.1.0 that RegisterCompletionItemProviders is now supported. Can this only be configured by using JavaScript, or can this be done in some way through either StandardEditorConstructionOptions or another method?

I have a list of string values that I would like to be able to add to the Suggestion list but I’m not quite sure I can do that easily using JSInterop. Was hoping this functionality was available within the Blazor wrapper.