Atom 'autocomplete+' not working

强颜欢笑 提交于 2019-12-08 21:40:00

问题


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



来源:https://stackoverflow.com/questions/32891385/atom-autocomplete-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!