简体   繁体   中英

Atom 'autocomplete+' not working

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?

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

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.

在此输入图像描述

简单,只需安装atom-ternjs包。

只需安装到Atom Editor 当前插件即可

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM