Atom 'autocomplete+' not working

2019-06-21 17:51发布

问题:

So the autocomplete+ comes with Atom when you install it and is enabled by default.

When I am writing code, nothing shows up, why?

Is there any file I need to configure before it works properly?

回答1:

In autocomplete-plus settings page there is option "File Blacklist":

and by default there is all files back listed "*.*" so autocomplete works only in those files which have special addon installed

I have put "*.none" and autocomplete started to work in all files for me



回答2:

For atom-typescript and any new typescript project in general, for things like autocomplete to work correctly, you must have a tsconfig.json file. atom-typescript has a command to generate you a file, when you're editing a .ts file.



回答3:

Simple, just install atom-ternjs package.



回答4:

Just install to your Atom Editor current plugin