I tried setting up CodeMirror with Javascript, Typescript, Python, C++, and Java. I have used the basicSetup extension, as per the docs basic setup extension provides autocompletion.
Now I am getting autocompletion suggestions for Javascript, Typescript, and Python. but it doesn’t work for C++ and Java.
How can I enable it for languages like C++, Java, C, etc?
There is no autocompletion support in those language packages. Setting it up to complete a static list of words using @codemirror/autocomplete isn’t hard. Getting scope-aware completions in those languages is going to be difficult.