You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps or JS usage snippet reproducing the issue:
I use Monaco editor to edit plain text, among other languages. Monaco offers irrelevant completion candidates while I type. I'd like to disable completion for plain text. After applying the suggestion of using noLib from Stack Overflow like this:
monaco-editor version: 0.14.0
Browser: Chrome 70
OS: macOS 10.12
Steps or JS usage snippet reproducing the issue:
I use Monaco editor to edit plain text, among other languages. Monaco offers irrelevant completion candidates while I type. I'd like to disable completion for plain text. After applying the suggestion of using noLib from Stack Overflow like this:
monaco.languages.plaintext.plaintextDefaults.setCompilerOptions({ noLib: true });
I am getting:
error TS2339: Property 'plaintext' does not exist on type 'typeof languages'.
How can I disable completion for plain text? Thanks!
The text was updated successfully, but these errors were encountered: