This package provides the following services:
formatter-json package
Formatter for JSON.
This Formatter plugin for Formatter provides an interface to JSON.stringify().
Installation
-
Install Formatter package via Atom
- or with
apm install formatter
- or with
-
Install formatter-json package via Atom
- or with
apm install formatter-json
- or with
Usage
In your source compatible file
Default (inspired from IntelliJ):
'atom-text-editor':
'alt-ctrl-l': 'formatter:format-code'
'alt-cmd-l': 'formatter:format-code'
List of config
-
JSON language
-
Enable formatter for JSON language (need restart Atom)
-
Indent size
- Example :
8
- Example :
-
TODO
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😄
License
See LICENSE.md