Autocomplete in Atom messes up

I don't know if this is javascript specific or not, but I see this behavior:

console.lo

      

TAB or ENTER

console.console.log();

      

I would expect it to be auto-filled:

console.log();

      

Am I doing something wrong?

+3


source to share


1 answer


Atom auto-completion works like this:

log

→ console.log();



so he gets confused and ends automatically console.lo

→console.console.log();

The workaround is using log

your short hand instead.

+2


source







All Articles