Auto suggestions only working for JavaScript and not for other languages
See original GitHub issueI’m using react-monaco-editor in my application. But the autosuggestions only work if the language is set as javascript. Even if I add more languages to the monaco-editor-webpack-plugin in webpack.config.js file, it’s still doesn’t make a difference.
new MonacoWebpackPlugin({ languages: [ 'javascript','cpp','java','python'] }),
I also tried the example in this repo, even in that if I add more languages to the webpack plugin and use one of those languages in the monaco editor component, the autosuggest still doesn’t show up. But if the language is set as javascript in the monaco editor component, auto suggestions show up.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
VS Code autocomplete/intellisense not working - Stack Overflow
js it is a JavaScript file type. Use Change Language Mode (through command palette) command to change it manually.
Read more >JavaScript IntelliSense using legacy language service
The JavaScript legacy language is no longer supported but the feature is available on the new language service. I strongly suggest to give...
Read more >Should You Use AI Autocomplete? - YouTube
Get 50% Off Tabnine For A Year: https://www.tabnine.com/pricing/checkout?planInterval=month&promotionCode=WDSAIAI autocomplete is slowly ...
Read more >How to Select Vim Code Completion for Any Language
Now press the *Enter* key. Autocomplete is enabled for Javascript. Note that auto-complete is set only for the current session. If you want...
Read more >Code completion | WebStorm Documentation - JetBrains
To reject all suggestions auto-completion offers, press Escape. ... Completion from the TypeScript Language Service in JavaScript.
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
I think you need a language server. See https://github.com/Microsoft/monaco-editor/issues/955 for example.
@domoritz Yes, I agree. But how do I add/use IntelliSense/Autosuggestions for other languages like python, c++ and java which are not supported by monaco?