Atom Packages Directory

a package directory for a text editor of the 21st Century

Vue Format by yuqiu

Install with:
    apm install vue-format
  

vue-format package (https://github.com/LeslieYQ/vue-format)

A screenshot of your package

bash apm install vue-format

Or Settings/Preferences ➔ Packages ➔ Search for vue-format

Language Support

Usage

It will beautify .vue file for html,css and js

Shortcut

You can also type ctrl-alt-v as a shortcut or click Packages > vue-format in the menu.

Custom Keyboard Shortcuts

See Keymaps In-Depth for more details.

For example:

coffeescript '.editor': 'ctrl-alt-b': 'atom-beautify:beautify-editor'

Configuration

use js-beautify default

Simple

See examples/simple-jsbeautifyrc/.jsbeautifyrc.

json { "indent_size": 2, "indent_char": " ", "other": " ", "indent_level": 0, "indent_with_tabs": false, "preserve_newlines": true, "max_preserve_newlines": 2, "jslint_happy": true, "indent_handlebars": true }

License

MIT © LeslieYQ yuqiu

Keywords: format, vue.js, nodejs, atom, package, beautify Suggest keywords
Fork me on GitHub