Skip to content
← Back to Community
Code intelligence/auto-complete not working for Javascript, Python, etc.
Profile icon
Lathryx

Hello! I have researched this topic and it seems to be a common issue, but none of the answers I've found are relevant to mine. I have "Code Intelligence" turned on in the editor, but for some reason, I'm only getting Emmet auto-completion for HTML, and full auto-completion for CSS (maybe a little too much), nothing else.

I seem to be getting auto-completion for simple things that I have already typed. So, if I'm programming in Javascript and I type, ".getElementById()" I won't get any auto-completion the first time, but once it's in the local dictionary that starts working.

However, my own text is the ONLY auto-completion I'm getting, everything else I should be getting is only inside of HTML and CSS. Does anyone know why this may be?

Also, if possible, how would I remove specific auto-completions? The "additive-symbols;" auto-completion in CSS is driving me crazy!

UPDATE:
I'm not sure why, but JavaScript auto-completions now work! I made a new repl and.. they just, work! Even getElementById()! Thanks for everyone's responses/help! :)

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
MarcellPerger1
Profile icon
brandosha
Profile icon
Lathryx
Comments
hotnewtop
Profile icon
Coder100

JS doesn't have autocomplete for some strange reason, and the emmet css is super bad too :(

Too bad you can't remove specific autocomplete :(

Report to bugs

Advocacy is key!

Profile icon
brandosha

Why wouldn't JS have support for autocomplete?? It is such a popular language.


@Coder100
Do you have any idea of what ide replit uses? Or is it just their own?

Profile icon
Coder100

@brandosha
they use monaco.
What happened was they deleted their declaration files (or something), so it got removed. Honestly, the team doesn't know why either

Profile icon
Lathryx

@Coder100
So is that gonna get fixed then? Do they have plans to fix it?

Profile icon
Lathryx

@Coder100
They should definitely add that back!! That would be very useful.

Also, they should add a config file or something to settings in order to remove certain auto-completions (I believe VSCode and others do this but I don't know for sure).

Profile icon
RYANTADIPARTHI

You might want to refresh.

Or report it to bugs. Cause it sometimes does that. But it works though.

Here you go:

https://repl.it/bugs

Profile icon
Bookie0

Screen Shot 2020-11-09 at 4.57.45 PM

hi, it seems to work for me...
You say you have "Code Intelligence" turned on, and I tried getElemendById() in a JS repl, yea it doesn't give autocomplete.

So idk if there's much to do, and if you don't like the auto-completion in CSS turn it off I guess..?

idk if it's a bug (here) so maybe you can suggest it in the feedback board ;)

Profile icon
Lathryx

@Bookie0
Yes, Python works now, JS was the main problem.
@Coder100
replied and apparently "JS doesn't have autocomplete..." so that sucks.

Hopefully this will get fixed, that'd be fantastic.

Profile icon
Coder100

yes :)

@Lathryx

Profile icon
Bookie0

@Lathryx
oh ok cool! :)

Profile icon
Bookie0