-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid text completions for a custom language if a specialized CompletionItemProvider is registered #59
Comments
There is a setting |
@jrieken Thanks. I can see this setting in VS Code. But I don't see where to apply it in monaco. Passing |
Property |
That's true - it's only exposed via the configuration service but not yet as an explicit editor setting |
@jrieken can you tell me how I would go about setting this to false through the configuration service? I don't seem to be able to see how I can turn off the word based suggestions. |
We don't expose the configuration service here but 're-export' each editor specific setting via the editor. We must do the same once again for this setting |
fix in microsoft/vscode@4d37b86 |
Oops, still have this problem. I set wordBasedSuggestions to false but when my provider returns nothing the editor will popup word based suggestions according to the existing input. |
I have written a custom completion provider and registered it with
registerCompletionItemProvider
at Monaco. It is working just fine.However if I don't have completions and return an empty list from the provider Monaco seems to ask another provider and returns the list of all tokens in the editor window. Can this somehow be disabled in order to let Monaco really show no suggestions for that place?
The text was updated successfully, but these errors were encountered: