Is there a way to disable IntelliSense?
See original GitHub issueIn my project, IntelliSense seems to obscure a lot of the code in the editor, similar to what is described in this issue - https://github.com/microsoft/monaco-editor/issues/344#issue-204285250
Can I disable IntelliSense entirely? I went through IEditorOptions in the API, but didnât find anything that I could use.
I also looked at the VSCode docs on Customizing IntelliSense, but not sure if/how they relate to Monaco Editor.
On further digging - I tried the config from VSCode docs in the Monaco Playground, and it seems like intellisense is turned off -
var editor = monaco.editor.create(document.getElementById("container"), {
value: jsCode,
language: "javascript",
quickSuggestions: {
"other": false,
"comments": false,
"strings": false
},
parameterHints: {
enabled: false
},
ordBasedSuggestions: false,
suggestOnTriggerCharacters: false,
acceptSuggestionOnEnter: "off",
tabCompletion: "off",
wordBasedSuggestions: false
});
I just took the config described in the âCustomizing IntelliSenseâ section to try this out, but is there another command that disables IntelliSense entirely all at once, instead of using individual properties?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
đ¤
features: ["!suggest"]
did not work for me. But, this very upsetting CSS snippet did:(
!important
was necessary to override the inline styles added by Monaco)Itâd be swell if
ISuggestOptions
could have anenabled?: boolean
added to it.My use case is pretty common with education platforms where surfacing additional information is surprisingly harmful to the experience of new users. Other example: https://github.com/freeCodeCamp/learn/issues/88
In my use case just setting
quickSuggestions
tofalse
is enough to make all of intellisense go away.