Giter Club home page Giter Club logo

autocomplete-json's Introduction

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: atom/autocomplete-plus#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:

  1. Load the available schema "manifest" from schemastore.org
  2. Once a .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.
  3. There are also some extra features, like autocompletion for files and dependencies. These are available for the most frequently used schemas, like 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!**

features

json schema

JSON schema autocomplete

npm dependencies

Autocomplete npm dependencies

files

Autocomplete files

babelrc 6+ plugins and presets

Autocomplete babelrc plugins and presets

development

Wiki about development

support for your schema

Wiki about providers

autocomplete-json's People

Contributors

agaricus avatar bali182 avatar belgabor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.