Jade-beautify package for Atom Editor
This tiny program only beautify a jade file.
The idea is from @pjbrow.
Note : This program depends on pug-beautify module.
Installation
To install jade-beautify,at atom, Packages >> Setting View >> Open or Ctrl-comma. Click install tab, search 'jade-beautify' and install it. Or just type below.
apm install jade-beautify
Usage
To reformat jade indent, click ctl-alt-o. When you check 'Force beautify on save'(default is 'checked'), reformat it automatically. It works on save-all event also.
Settings
- Force beautify when save : when checked, jade-beautify format it automatically on save event. default checked.
- Force beautify modified one when save-all: when checked, jade-beautify format it automatically on save-all event. but only modified one. default unchecked.
- Indent with tabs : when checked, jade-beautify fill indent as tab, when not spaces. default is checked.
- Omit div tag : when checked, jade-beautify omit div tag. default unchecked.
To leave Issues
Please visit on https://github.com/vingorius/jade-beautify/issues