This package provides the following services:
This package consumes the following services:
autocomplete-json
** Semantic autocompletion for JSON files**
for dotfiles (.eslintrc, .babelrc, etc)
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
how this works
Since 5.0 (it supposed to be 2.0 but I messed up apm publish
) was released, this is the way this package works:
- Load the available schema "manifest" from schemastore.org
- Once a
.json
file is opened, and autocompletion is activated (CTRL+Space usually), the file name is matched against thefileMatch
field in each schema descriptor, and if there's a match, that schema is loaded and used for autocompletion in the given file. - There are also some extra features, like autocompletion for files and dependencies. These are available for the most frequently used schemas, like
package.json
andtsconfig.json
.
** The 5.0 release will most likely cause a lots of issues and bugs, please report if you find any!**
features
json schema
npm dependencies
files
babelrc 6+ plugins and presets
development
Wiki about development
support for your schema
Wiki about providers