Semantic autocompletion for JSON files
autocomplete-plus (this package is a plugin for autocomplete-plus) has dotfiles disabled by default for autocompletion. To enable them, go to
File
-> Settings
-> Packages
-> autocomplete-plus
-> Settings
-> File Blacklist
and replace the default .*
with something that you won't need to be
recognized as a filename in files you expect autocomplete, eg.: a space
(" "
without quotes). If this still doesn't do the trick, make sure Atom recognizes file type correctly - for me .eslintrc
was recognized as YAML
- change it to JSON
if necessary. If this still doesn't help, please open an issue, or feel free to protest against
blocking dotfiles here: https://github.com/atom/autocomplete-plus/issues/658
Since 5.0 (it supposed to be 2.0 but I messed up apm publish
) was released, this is the way this package works:
.json
file is opened, and autocompletion is activated (CTRL+Space usually), the file name is matched against the fileMatch
field in each schema descriptor, and if there's a match, that schema is loaded and used for autocompletion in the given file.package.json
and tsconfig.json
.The 5.0 release will most likely cause a lots of issues and bugs, please report if you find any!
Wiki about development
Wiki about providers