Javascript does not honor wordBasedSuggestions = false
See original GitHub issuemonaco-editor version: v0.20.0
ISSUE: Can we have suggest any word suggestions turned off? It confuses. Below repro in playground:
function a() { let myVar; }
myV| // CTRL + SPACE here should not suggest myVar as type any-word
NOTE: This works in Typescript - only Javascript has the issue. It says its fixed here but its not: https://github.com/microsoft/monaco-editor/issues/907). I assume the wordBasedSuggestions
is meant to turn this off.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Invalid completion items when using dots in ... - GitHub
I was only able to reproduce this when registering a completion item ... Javascript does not honor wordBasedSuggestions = false #1980.
Read more >Disable word based suggestion in Visual Studio Code
I just want code suggestion. I tried "editor.wordBasedSuggestions": false , but no luck. How to change that ? Thanks. Example: Example.
Read more >User and Workspace Settings - Visual Studio Code
When you search using the Search bar, it will not only show and highlight ... Errors due to incorrect setting names or JSON...
Read more >Element.ariaHidden - Web APIs - MDN Web Docs
In this example the aria-hidden attribute on the element with an ID of hidden is set to "true". Using ariaHidden we update the...
Read more >Language-specific indentation settings in VS Code
When I'm working with Python I like four space indents, but for JavaScript or HTML I like two space indents. Today I figured...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
TIP: this annoying bug can be fixed with option
suggest: { showFiles: false }
- yes, file 🙄Duplicate of #2136.
See https://github.com/microsoft/monaco-editor/issues/2136#issuecomment-886025174.
Monaco is not doing word based suggestions - they are comming from the JavaScript language service.