monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

wordBasedSuggestions not work with registerCompletionItemProvider

Open vthinkxie opened this issue 9 years ago • 4 comments

monaco-editor npm version: 0.8.1 Browser: Chrome OS: Mac

wordBasedSuggestionswill not work when set monaco.languages.registerCompletionItemProvider can both of these work at same time?

vthinkxie avatar Feb 13 '17 13:02 vthinkxie

Do you solve the problem? Can you tell me the way to solve the problem?

leexiaozheng avatar Feb 24 '17 09:02 leexiaozheng

@Leezheng357 not yet

vthinkxie avatar Feb 24 '17 09:02 vthinkxie

Hi I'm struggling with the same issue. Is there any known workaround? Thanks

agustinlg avatar Mar 16 '17 23:03 agustinlg

Yes, that is the design. When a specific provider is registered for a languages we won't ask the less specific provider unless the more specific provider returns null, undefined, or the empty array.

jrieken avatar Jun 19 '17 08:06 jrieken