From 4e528809f04d88cb21e46e6dc923ef5cd17cc2a2 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Mon, 31 Aug 2015 19:25:40 -0300 Subject: [PATCH] Closes #529. Improve documentation generation for package options Show difference between Atom Beautify package option and language config options in generated documentation --- docs/index.coffee | 25 + docs/option-template.md | 22 +- docs/options.md | 3303 +++++++++++++++++++++++++++++++--- src/beautifiers/index.coffee | 5 + src/config.coffee | 6 + 5 files changed, 3072 insertions(+), 289 deletions(-) diff --git a/docs/index.coffee b/docs/index.coffee index 16c8144..2e5bbea 100755 --- a/docs/index.coffee +++ b/docs/index.coffee @@ -40,6 +40,31 @@ Handlebars.registerHelper('linkify', (title, options) -> ) ) +exampleConfig = (option) -> + # console.log(option) + t = option.type + d = switch + when option.default? then option.default + when t is "string" then "" + when t is "integer" then 0 + when t is "boolean" then false + else null + + json = {} + namespace = option.language.namespace + k = option.key + c = {} + c[k] = d + json[namespace] = c + return """```json + #{JSON.stringify(json, undefined, 4)} + ```""" + +Handlebars.registerHelper('example-config', (key, option, options) -> + results = exampleConfig(key, option) + # console.log(results) + return new Handlebars.SafeString(results) +) context = { packageOptions: packageOptions diff --git a/docs/option-template.md b/docs/option-template.md index 9ed694f..d91800d 100644 --- a/docs/option-template.md +++ b/docs/option-template.md @@ -1,6 +1,12 @@ #### {{#if title}} {{#linkify title}}{{title}}{{/linkify}} {{else}} {{#linkify @key}}`{{@key}}`{{/linkify}} {{/if}} -**Key**: `{{@key}}` +{{#if beautifiers}} +**Namespace**: `{{language.namespace}}` + +**Key**: `{{key}}` +{{else}} +**Important**: This option is only configurable from within Atom Beautify's setting panel. +{{/if}} {{#if default}} **Default**: `{{default}}` @@ -20,3 +26,17 @@ {{description}} +{{#if beautifiers}} +**Example `.jsbeautifyrc` Configuration** + +{{example-config this}} + +{{else}} +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*{{title}}*" and change it to your desired configuration. + +{{/if}} \ No newline at end of file diff --git a/docs/options.md b/docs/options.md index 7aff727..c71ca1d 100644 --- a/docs/options.md +++ b/docs/options.md @@ -8,9 +8,9 @@ Configurable options for Atom Beautify. --- -#### [`analytics`](#analytics) +#### [Anonymous Analytics](#anonymous-analytics) -**Key**: `analytics` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `true` @@ -20,9 +20,16 @@ Configurable options for Atom Beautify. There is [Segment.io](https://segment.io/) which forwards data to [Google Analytics](http://www.google.com/analytics/) to track what languages are being used the most, as well as other stats. Everything is anonymized and no personal information, such as source code, is sent. See https://github.com/Glavin001/atom-beautify/issues/47 for more details. -#### [`_analyticsUserId`](#_analyticsuserid) +**How to Configure** -**Key**: `_analyticsUserId` +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Anonymous Analytics*" and change it to your desired configuration. + +#### [Analytics User Id](#analytics-user-id) + +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `string` @@ -30,9 +37,16 @@ There is [Segment.io](https://segment.io/) which forwards data to [Google Analyt Unique identifier for this user for tracking usage analytics -#### [`_loggerLevel`](#_loggerlevel) +**How to Configure** -**Key**: `_loggerLevel` +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Analytics User Id*" and change it to your desired configuration. + +#### [Logger Level](#logger-level) + +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `warn` @@ -44,9 +58,16 @@ Unique identifier for this user for tracking usage analytics Set the level for the logger -#### [`beautifyEntireFileOnSave`](#beautifyentirefileonsave) +**How to Configure** -**Key**: `beautifyEntireFileOnSave` +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Logger Level*" and change it to your desired configuration. + +#### [Beautify Entire File On Save](#beautify-entire-file-on-save) + +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `true` @@ -56,9 +77,16 @@ Set the level for the logger When beautifying on save, use the entire file, even if there is selected text in the editor -#### [`muteUnsupportedLanguageErrors`](#muteunsupportedlanguageerrors) +**How to Configure** -**Key**: `muteUnsupportedLanguageErrors` +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Beautify Entire File On Save*" and change it to your desired configuration. + +#### [Mute Unsupported Language Errors](#mute-unsupported-language-errors) + +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -66,9 +94,16 @@ When beautifying on save, use the entire file, even if there is selected text in Do not show "Unsupported Language" errors when they occur -#### [`muteAllErrors`](#muteallerrors) +**How to Configure** -**Key**: `muteAllErrors` +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Mute Unsupported Language Errors*" and change it to your desired configuration. + +#### [Mute All Errors](#mute-all-errors) + +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -76,6 +111,13 @@ Do not show "Unsupported Language" errors when they occur Do not show any/all errors when they occur +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Mute All Errors*" and change it to your desired configuration. + ## Language Options @@ -85,7 +127,9 @@ Supported options for each language. #### [Arduino - Config Path](#arduino---config-path) -**Key**: `arduino_configPath` +**Namespace**: `arduino` + +**Key**: `configPath` **Type**: `string` @@ -95,9 +139,21 @@ Supported options for each language. Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "arduino": { + "configPath": "" + } +} +``` + #### [C# - Config Path](#c---config-path) -**Key**: `cs_configPath` +**Namespace**: `cs` + +**Key**: `configPath` **Type**: `string` @@ -107,9 +163,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "cs": { + "configPath": "" + } +} +``` + #### [C - Config Path](#c---config-path) -**Key**: `c_configPath` +**Namespace**: `c` + +**Key**: `configPath` **Type**: `string` @@ -119,9 +187,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "c": { + "configPath": "" + } +} +``` + #### [C++ - Config Path](#c---config-path) -**Key**: `cpp_configPath` +**Namespace**: `cpp` + +**Key**: `configPath` **Type**: `string` @@ -131,9 +211,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "cpp": { + "configPath": "" + } +} +``` + #### [CSS - Indent size](#css---indent-size) -**Key**: `css_indent_size` +**Namespace**: `css` + +**Key**: `indent_size` **Default**: `4` @@ -145,9 +237,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_size": 4 + } +} +``` + #### [CSS - Indent char](#css---indent-char) -**Key**: `css_indent_char` +**Namespace**: `css` + +**Key**: `indent_char` **Default**: ` ` @@ -159,9 +263,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_char": " " + } +} +``` + #### [CSS - Selector separator newline](#css---selector-separator-newline) -**Key**: `css_selector_separator_newline` +**Namespace**: `css` + +**Key**: `selector_separator_newline` **Type**: `boolean` @@ -171,9 +287,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Add a newline between multiple selectors (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "selector_separator_newline": false + } +} +``` + #### [CSS - Newline between rules](#css---newline-between-rules) -**Key**: `css_newline_between_rules` +**Namespace**: `css` + +**Key**: `newline_between_rules` **Type**: `boolean` @@ -183,9 +311,21 @@ Add a newline between multiple selectors (Supported by JS Beautify) Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "newline_between_rules": false + } +} +``` + #### [CSS - Preserve newlines](#css---preserve-newlines) -**Key**: `css_preserve_newlines` +**Namespace**: `css` + +**Key**: `preserve_newlines` **Type**: `boolean` @@ -195,9 +335,21 @@ Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) Retain empty lines. Consecutive empty lines will be converted to a single empty line. (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "preserve_newlines": false + } +} +``` + #### [CSS - Wrap line length](#css---wrap-line-length) -**Key**: `css_wrap_line_length` +**Namespace**: `css` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -207,9 +359,21 @@ Retain empty lines. Consecutive empty lines will be converted to a single empty Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "wrap_line_length": 0 + } +} +``` + #### [CSS - Indent comments](#css---indent-comments) -**Key**: `css_indent_comments` +**Namespace**: `css` + +**Key**: `indent_comments` **Default**: `true` @@ -221,9 +385,21 @@ Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, P Determines whether comments should be indented. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_comments": true + } +} +``` + #### [CSS - Force indentation](#css---force-indentation) -**Key**: `css_force_indentation` +**Namespace**: `css` + +**Key**: `force_indentation` **Type**: `boolean` @@ -233,9 +409,21 @@ Determines whether comments should be indented. (Supported by Pretty Diff) if indentation should be forcefully applied tomarkup even if it disruptively adds unintended whitespace to the documents rendered output (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "force_indentation": false + } +} +``` + #### [CSS - Convert quotes](#css---convert-quotes) -**Key**: `css_convert_quotes` +**Namespace**: `css` + +**Key**: `convert_quotes` **Default**: `none` @@ -249,9 +437,21 @@ if indentation should be forcefully applied tomarkup even if it disruptively add Convert the quote characters delimiting strings from either double or single quotes to the other. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "convert_quotes": "none" + } +} +``` + #### [CSS - Align assignments](#css---align-assignments) -**Key**: `css_align_assignments` +**Namespace**: `css` + +**Key**: `align_assignments` **Type**: `boolean` @@ -261,9 +461,21 @@ Convert the quote characters delimiting strings from either double or single quo If lists of assignments or properties should be vertically aligned for faster and easier reading. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "align_assignments": false + } +} +``` + #### [D - Config Path](#d---config-path) -**Key**: `d_configPath` +**Namespace**: `d` + +**Key**: `configPath` **Type**: `string` @@ -273,9 +485,21 @@ If lists of assignments or properties should be vertically aligned for faster an Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "d": { + "configPath": "" + } +} +``` + #### [gherkin - Indent size](#gherkin---indent-size) -**Key**: `gherkin_indent_size` +**Namespace**: `gherkin` + +**Key**: `indent_size` **Default**: `4` @@ -287,9 +511,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Indentation size/length (Supported by Gherkin formatter) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "gherkin": { + "indent_size": 4 + } +} +``` + #### [gherkin - Indent char](#gherkin---indent-char) -**Key**: `gherkin_indent_char` +**Namespace**: `gherkin` + +**Key**: `indent_char` **Default**: ` ` @@ -301,9 +537,21 @@ Indentation size/length (Supported by Gherkin formatter) Indentation character (Supported by Gherkin formatter) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "gherkin": { + "indent_char": " " + } +} +``` + #### [Fortran - Emacs path](#fortran---emacs-path) -**Key**: `fortran_emacs_path` +**Namespace**: `fortran` + +**Key**: `emacs_path` **Type**: `string` @@ -313,9 +561,21 @@ Indentation character (Supported by Gherkin formatter) Path to the `emacs` executable (Supported by Fortran Beautifier) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "fortran": { + "emacs_path": "" + } +} +``` + #### [Fortran - Emacs script path](#fortran---emacs-script-path) -**Key**: `fortran_emacs_script_path` +**Namespace**: `fortran` + +**Key**: `emacs_script_path` **Type**: `string` @@ -325,9 +585,21 @@ Path to the `emacs` executable (Supported by Fortran Beautifier) Path to the emacs script (Supported by Fortran Beautifier) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "fortran": { + "emacs_script_path": "" + } +} +``` + #### [HTML - Indent inner html](#html---indent-inner-html) -**Key**: `html_indent_inner_html` +**Namespace**: `html` + +**Key**: `indent_inner_html` **Type**: `boolean` @@ -337,9 +609,21 @@ Path to the emacs script (Supported by Fortran Beautifier) Indent <head> and <body> sections. (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_inner_html": false + } +} +``` + #### [HTML - Indent size](#html---indent-size) -**Key**: `html_indent_size` +**Namespace**: `html` + +**Key**: `indent_size` **Default**: `4` @@ -351,9 +635,21 @@ Indent <head> and <body> sections. (Supported by JS Beautify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_size": 4 + } +} +``` + #### [HTML - Indent char](#html---indent-char) -**Key**: `html_indent_char` +**Namespace**: `html` + +**Key**: `indent_char` **Default**: ` ` @@ -365,9 +661,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_char": " " + } +} +``` + #### [HTML - Brace style](#html---brace-style) -**Key**: `html_brace_style` +**Namespace**: `html` + +**Key**: `brace_style` **Default**: `collapse` @@ -381,9 +689,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) [collapse|expand|end-expand|none] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "brace_style": "collapse" + } +} +``` + #### [HTML - Indent scripts](#html---indent-scripts) -**Key**: `html_indent_scripts` +**Namespace**: `html` + +**Key**: `indent_scripts` **Default**: `normal` @@ -397,9 +717,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) [keep|separate|normal] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_scripts": "normal" + } +} +``` + #### [HTML - Wrap line length](#html---wrap-line-length) -**Key**: `html_wrap_line_length` +**Namespace**: `html` + +**Key**: `wrap_line_length` **Default**: `250` @@ -411,9 +743,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_line_length": 250 + } +} +``` + #### [HTML - Wrap attributes](#html---wrap-attributes) -**Key**: `html_wrap_attributes` +**Namespace**: `html` + +**Key**: `wrap_attributes` **Default**: `auto` @@ -427,9 +771,21 @@ Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) Wrap attributes to new lines [auto|force] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_attributes": "auto" + } +} +``` + #### [HTML - Wrap attributes indent size](#html---wrap-attributes-indent-size) -**Key**: `html_wrap_attributes_indent_size` +**Namespace**: `html` + +**Key**: `wrap_attributes_indent_size` **Default**: `4` @@ -441,9 +797,21 @@ Wrap attributes to new lines [auto|force] (Supported by JS Beautify) Indent wrapped attributes to after N characters (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_attributes_indent_size": 4 + } +} +``` + #### [HTML - Preserve newlines](#html---preserve-newlines) -**Key**: `html_preserve_newlines` +**Namespace**: `html` + +**Key**: `preserve_newlines` **Default**: `true` @@ -455,9 +823,21 @@ Indent wrapped attributes to after N characters (Supported by JS Beautify) Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "preserve_newlines": true + } +} +``` + #### [HTML - Max preserve newlines](#html---max-preserve-newlines) -**Key**: `html_max_preserve_newlines` +**Namespace**: `html` + +**Key**: `max_preserve_newlines` **Default**: `10` @@ -469,9 +849,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "max_preserve_newlines": 10 + } +} +``` + #### [HTML - Unformatted](#html---unformatted) -**Key**: `html_unformatted` +**Namespace**: `html` + +**Key**: `unformatted` **Default**: `a,sub,sup,b,i,u` @@ -483,9 +875,28 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "unformatted": [ + "a", + "sub", + "sup", + "b", + "i", + "u" + ] + } +} +``` + #### [HTML - End with newline](#html---end-with-newline) -**Key**: `html_end_with_newline` +**Namespace**: `html` + +**Key**: `end_with_newline` **Type**: `boolean` @@ -495,9 +906,21 @@ List of tags (defaults to inline) that should not be reformatted (Supported by J End output with newline (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "end_with_newline": false + } +} +``` + #### [Java - Config Path](#java---config-path) -**Key**: `java_configPath` +**Namespace**: `java` + +**Key**: `configPath` **Type**: `string` @@ -507,9 +930,21 @@ End output with newline (Supported by JS Beautify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "java": { + "configPath": "" + } +} +``` + #### [JavaScript - Indent size](#javascript---indent-size) -**Key**: `js_indent_size` +**Namespace**: `js` + +**Key**: `indent_size` **Default**: `4` @@ -521,9 +956,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_size": 4 + } +} +``` + #### [JavaScript - Indent char](#javascript---indent-char) -**Key**: `js_indent_char` +**Namespace**: `js` + +**Key**: `indent_char` **Default**: ` ` @@ -535,9 +982,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_char": " " + } +} +``` + #### [JavaScript - Indent level](#javascript---indent-level) -**Key**: `js_indent_level` +**Namespace**: `js` + +**Key**: `indent_level` **Type**: `integer` @@ -547,9 +1006,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Initial indentation level (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_level": 0 + } +} +``` + #### [JavaScript - Indent with tabs](#javascript---indent-with-tabs) -**Key**: `js_indent_with_tabs` +**Namespace**: `js` + +**Key**: `indent_with_tabs` **Type**: `boolean` @@ -559,9 +1030,21 @@ Initial indentation level (Supported by JS Beautify) Indentation uses tabs, overrides `Indent Size` and `Indent Char` (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_with_tabs": false + } +} +``` + #### [JavaScript - Preserve newlines](#javascript---preserve-newlines) -**Key**: `js_preserve_newlines` +**Namespace**: `js` + +**Key**: `preserve_newlines` **Default**: `true` @@ -573,9 +1056,21 @@ Indentation uses tabs, overrides `Indent Size` and `Indent Char&# Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "preserve_newlines": true + } +} +``` + #### [JavaScript - Max preserve newlines](#javascript---max-preserve-newlines) -**Key**: `js_max_preserve_newlines` +**Namespace**: `js` + +**Key**: `max_preserve_newlines` **Default**: `10` @@ -587,9 +1082,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "max_preserve_newlines": 10 + } +} +``` + #### [JavaScript - Space in paren](#javascript---space-in-paren) -**Key**: `js_space_in_paren` +**Namespace**: `js` + +**Key**: `space_in_paren` **Type**: `boolean` @@ -599,9 +1106,21 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_in_paren": false + } +} +``` + #### [JavaScript - Jslint happy](#javascript---jslint-happy) -**Key**: `js_jslint_happy` +**Namespace**: `js` + +**Key**: `jslint_happy` **Type**: `boolean` @@ -611,9 +1130,21 @@ Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify) Enable jslint-stricter mode (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "jslint_happy": false + } +} +``` + #### [JavaScript - Space after anon function](#javascript---space-after-anon-function) -**Key**: `js_space_after_anon_function` +**Namespace**: `js` + +**Key**: `space_after_anon_function` **Type**: `boolean` @@ -623,9 +1154,21 @@ Enable jslint-stricter mode (Supported by JS Beautify) Add a space before an anonymous function's parens, ie. function () (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_after_anon_function": false + } +} +``` + #### [JavaScript - Brace style](#javascript---brace-style) -**Key**: `js_brace_style` +**Namespace**: `js` + +**Key**: `brace_style` **Default**: `collapse` @@ -639,9 +1182,21 @@ Add a space before an anonymous function's parens, ie. function () (Support [collapse|expand|end-expand|none] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "brace_style": "collapse" + } +} +``` + #### [JavaScript - Break chained methods](#javascript---break-chained-methods) -**Key**: `js_break_chained_methods` +**Namespace**: `js` + +**Key**: `break_chained_methods` **Type**: `boolean` @@ -651,9 +1206,21 @@ Add a space before an anonymous function's parens, ie. function () (Support Break chained method calls across subsequent lines (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "break_chained_methods": false + } +} +``` + #### [JavaScript - Keep array indentation](#javascript---keep-array-indentation) -**Key**: `js_keep_array_indentation` +**Namespace**: `js` + +**Key**: `keep_array_indentation` **Type**: `boolean` @@ -663,9 +1230,21 @@ Break chained method calls across subsequent lines (Supported by JS Beautify) Preserve array indentation (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "keep_array_indentation": false + } +} +``` + #### [JavaScript - Keep function indentation](#javascript---keep-function-indentation) -**Key**: `js_keep_function_indentation` +**Namespace**: `js` + +**Key**: `keep_function_indentation` **Type**: `boolean` @@ -675,9 +1254,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "keep_function_indentation": false + } +} +``` + #### [JavaScript - Space before conditional](#javascript---space-before-conditional) -**Key**: `js_space_before_conditional` +**Namespace**: `js` + +**Key**: `space_before_conditional` **Default**: `true` @@ -689,9 +1280,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_before_conditional": true + } +} +``` + #### [JavaScript - Eval code](#javascript---eval-code) -**Key**: `js_eval_code` +**Namespace**: `js` + +**Key**: `eval_code` **Type**: `boolean` @@ -701,9 +1304,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "eval_code": false + } +} +``` + #### [JavaScript - Unescape strings](#javascript---unescape-strings) -**Key**: `js_unescape_strings` +**Namespace**: `js` + +**Key**: `unescape_strings` **Type**: `boolean` @@ -713,9 +1328,21 @@ Preserve array indentation (Supported by JS Beautify) Decode printable characters encoded in xNN notation (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "unescape_strings": false + } +} +``` + #### [JavaScript - Wrap line length](#javascript---wrap-line-length) -**Key**: `js_wrap_line_length` +**Namespace**: `js` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -725,9 +1352,21 @@ Decode printable characters encoded in xNN notation (Supported by JS Beautify) Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "wrap_line_length": 0 + } +} +``` + #### [JavaScript - End with newline](#javascript---end-with-newline) -**Key**: `js_end_with_newline` +**Namespace**: `js` + +**Key**: `end_with_newline` **Type**: `boolean` @@ -737,9 +1376,21 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre End output with newline (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "end_with_newline": false + } +} +``` + #### [Objective-C - Config Path](#objective-c---config-path) -**Key**: `objectivec_configPath` +**Namespace**: `objectivec` + +**Key**: `configPath` **Type**: `string` @@ -749,9 +1400,21 @@ End output with newline (Supported by JS Beautify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "objectivec": { + "configPath": "" + } +} +``` + #### [Pawn - Config Path](#pawn---config-path) -**Key**: `pawn_configPath` +**Namespace**: `pawn` + +**Key**: `configPath` **Type**: `string` @@ -761,9 +1424,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "pawn": { + "configPath": "" + } +} +``` + #### [Perl - Perltidy profile](#perl---perltidy-profile) -**Key**: `perl_perltidy_profile` +**Namespace**: `perl` + +**Key**: `perltidy_profile` **Type**: `string` @@ -773,9 +1448,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Specify a configuration file which will override the default name of .perltidyrc (Supported by Perltidy) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "perl": { + "perltidy_profile": "" + } +} +``` + #### [PHP - PHP-CS-Fixer Path](#php---php-cs-fixer-path) -**Key**: `php_cs_fixer_path` +**Namespace**: `php` + +**Key**: `cs_fixer_path` **Type**: `string` @@ -785,9 +1472,21 @@ Specify a configuration file which will override the default name of .perltidyrc Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "cs_fixer_path": "" + } +} +``` + #### [PHP - Fixers](#php---fixers) -**Key**: `php_fixers` +**Namespace**: `php` + +**Key**: `fixers` **Type**: `string` @@ -797,9 +1496,21 @@ Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer) Add fixer(s). i.e. linefeed,-short_tag,indentation (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "fixers": "" + } +} +``` + #### [PHP - Level](#php---level) -**Key**: `php_level` +**Namespace**: `php` + +**Key**: `level` **Type**: `string` @@ -809,9 +1520,21 @@ Add fixer(s). i.e. linefeed,-short_tag,indentation (Supported by PHP-CS-Fixer) By default, all PSR-2 fixers and some additional ones are run. (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "level": "" + } +} +``` + #### [Python - Max line length](#python---max-line-length) -**Key**: `python_max_line_length` +**Namespace**: `python` + +**Key**: `max_line_length` **Default**: `79` @@ -823,9 +1546,21 @@ By default, all PSR-2 fixers and some additional ones are run. (Supported by PHP set maximum allowed line length (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "max_line_length": 79 + } +} +``` + #### [Python - Indent size](#python---indent-size) -**Key**: `python_indent_size` +**Namespace**: `python` + +**Key**: `indent_size` **Default**: `4` @@ -837,9 +1572,21 @@ set maximum allowed line length (Supported by autopep8) Indentation size/length (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "indent_size": 4 + } +} +``` + #### [Python - Ignore](#python---ignore) -**Key**: `python_ignore` +**Namespace**: `python` + +**Key**: `ignore` **Default**: `E24` @@ -851,9 +1598,23 @@ Indentation size/length (Supported by autopep8) do not fix these errors/warnings (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "ignore": [ + "E24" + ] + } +} +``` + #### [Ruby - Indent size](#ruby---indent-size) -**Key**: `ruby_indent_size` +**Namespace**: `ruby` + +**Key**: `indent_size` **Default**: `4` @@ -865,9 +1626,21 @@ do not fix these errors/warnings (Supported by autopep8) Indentation size/length (Supported by Rubocop, Ruby Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "ruby": { + "indent_size": 4 + } +} +``` + #### [Ruby - Indent char](#ruby---indent-char) -**Key**: `ruby_indent_char` +**Namespace**: `ruby` + +**Key**: `indent_char` **Default**: ` ` @@ -881,9 +1654,21 @@ Indentation size/length (Supported by Rubocop, Ruby Beautify) Indentation character (Supported by Ruby Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "ruby": { + "indent_char": " " + } +} +``` + #### [Rust - Rustfmt path](#rust---rustfmt-path) -**Key**: `rust_rustfmt_path` +**Namespace**: `rust` + +**Key**: `rustfmt_path` **Type**: `string` @@ -893,9 +1678,21 @@ Indentation character (Supported by Ruby Beautify) Path to rustfmt program (Supported by rustfmt) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "rust": { + "rustfmt_path": "" + } +} +``` + #### [SQL - Indent size](#sql---indent-size) -**Key**: `sql_indent_size` +**Namespace**: `sql` + +**Key**: `indent_size` **Default**: `4` @@ -907,9 +1704,21 @@ Path to rustfmt program (Supported by rustfmt) Indentation size/length (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "indent_size": 4 + } +} +``` + #### [SQL - Keywords](#sql---keywords) -**Key**: `sql_keywords` +**Namespace**: `sql` + +**Key**: `keywords` **Default**: `upper` @@ -923,9 +1732,21 @@ Indentation size/length (Supported by sqlformat) Change case of keywords (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "keywords": "upper" + } +} +``` + #### [SQL - Identifiers](#sql---identifiers) -**Key**: `sql_identifiers` +**Namespace**: `sql` + +**Key**: `identifiers` **Default**: `lower` @@ -939,9 +1760,21 @@ Change case of keywords (Supported by sqlformat) Change case of identifiers (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "identifiers": "lower" + } +} +``` + #### [Vala - Config Path](#vala---config-path) -**Key**: `vala_configPath` +**Namespace**: `vala` + +**Key**: `configPath` **Type**: `string` @@ -951,9 +1784,19 @@ Change case of identifiers (Supported by sqlformat) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "vala": { + "configPath": "" + } +} +``` + #### [Language Config - Arduino - Disable Beautifying Language](#language-config---arduino---disable-beautifying-language) -**Key**: `language_arduino_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -961,9 +1804,16 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Disable Arduino Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Arduino - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Arduino - Default Beautifier](#language-config---arduino---default-beautifier) -**Key**: `language_arduino_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -975,9 +1825,16 @@ Disable Arduino Beautification Default Beautifier to be used for Arduino +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Arduino - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Arduino - Beautify On Save](#language-config---arduino---beautify-on-save) -**Key**: `language_arduino_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -985,9 +1842,16 @@ Default Beautifier to be used for Arduino Automatically beautify Arduino files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Arduino - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - C# - Disable Beautifying Language](#language-config---c---disable-beautifying-language) -**Key**: `language_cs_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -995,9 +1859,16 @@ Automatically beautify Arduino files on save Disable C# Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C# - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - C# - Default Beautifier](#language-config---c---default-beautifier) -**Key**: `language_cs_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1009,9 +1880,16 @@ Disable C# Beautification Default Beautifier to be used for C# +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C# - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - C# - Beautify On Save](#language-config---c---beautify-on-save) -**Key**: `language_cs_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1019,9 +1897,16 @@ Default Beautifier to be used for C# Automatically beautify C# files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C# - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - C - Disable Beautifying Language](#language-config---c---disable-beautifying-language) -**Key**: `language_c_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1029,9 +1914,16 @@ Automatically beautify C# files on save Disable C Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - C - Default Beautifier](#language-config---c---default-beautifier) -**Key**: `language_c_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1043,9 +1935,16 @@ Disable C Beautification Default Beautifier to be used for C +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - C - Beautify On Save](#language-config---c---beautify-on-save) -**Key**: `language_c_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1053,9 +1952,16 @@ Default Beautifier to be used for C Automatically beautify C files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - CoffeeScript - Disable Beautifying Language](#language-config---coffeescript---disable-beautifying-language) -**Key**: `language_coffeescript_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1063,9 +1969,16 @@ Automatically beautify C files on save Disable CoffeeScript Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CoffeeScript - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - CoffeeScript - Default Beautifier](#language-config---coffeescript---default-beautifier) -**Key**: `language_coffeescript_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `coffee-fmt` @@ -1077,9 +1990,16 @@ Disable CoffeeScript Beautification Default Beautifier to be used for CoffeeScript +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CoffeeScript - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - CoffeeScript - Beautify On Save](#language-config---coffeescript---beautify-on-save) -**Key**: `language_coffeescript_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1087,9 +2007,16 @@ Default Beautifier to be used for CoffeeScript Automatically beautify CoffeeScript files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CoffeeScript - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - C++ - Disable Beautifying Language](#language-config---c---disable-beautifying-language) -**Key**: `language_cpp_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1097,9 +2024,16 @@ Automatically beautify CoffeeScript files on save Disable C++ Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C++ - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - C++ - Default Beautifier](#language-config---c---default-beautifier) -**Key**: `language_cpp_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1111,9 +2045,16 @@ Disable C++ Beautification Default Beautifier to be used for C++ +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C++ - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - C++ - Beautify On Save](#language-config---c---beautify-on-save) -**Key**: `language_cpp_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1121,9 +2062,16 @@ Default Beautifier to be used for C++ Automatically beautify C++ files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - C++ - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - CSS - Disable Beautifying Language](#language-config---css---disable-beautifying-language) -**Key**: `language_css_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1131,9 +2079,16 @@ Automatically beautify C++ files on save Disable CSS Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSS - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - CSS - Default Beautifier](#language-config---css---default-beautifier) -**Key**: `language_css_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1145,9 +2100,16 @@ Disable CSS Beautification Default Beautifier to be used for CSS +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSS - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - CSS - Beautify On Save](#language-config---css---beautify-on-save) -**Key**: `language_css_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1155,9 +2117,16 @@ Default Beautifier to be used for CSS Automatically beautify CSS files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSS - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - CSV - Disable Beautifying Language](#language-config---csv---disable-beautifying-language) -**Key**: `language_csv_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1165,9 +2134,16 @@ Automatically beautify CSS files on save Disable CSV Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSV - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - CSV - Default Beautifier](#language-config---csv---default-beautifier) -**Key**: `language_csv_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -1179,9 +2155,16 @@ Disable CSV Beautification Default Beautifier to be used for CSV +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSV - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - CSV - Beautify On Save](#language-config---csv---beautify-on-save) -**Key**: `language_csv_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1189,9 +2172,16 @@ Default Beautifier to be used for CSV Automatically beautify CSV files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - CSV - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - D - Disable Beautifying Language](#language-config---d---disable-beautifying-language) -**Key**: `language_d_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1199,9 +2189,16 @@ Automatically beautify CSV files on save Disable D Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - D - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - D - Default Beautifier](#language-config---d---default-beautifier) -**Key**: `language_d_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1213,9 +2210,16 @@ Disable D Beautification Default Beautifier to be used for D +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - D - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - D - Beautify On Save](#language-config---d---beautify-on-save) -**Key**: `language_d_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1223,9 +2227,16 @@ Default Beautifier to be used for D Automatically beautify D files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - D - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - EJS - Disable Beautifying Language](#language-config---ejs---disable-beautifying-language) -**Key**: `language_ejs_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1233,9 +2244,16 @@ Automatically beautify D files on save Disable EJS Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - EJS - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - EJS - Default Beautifier](#language-config---ejs---default-beautifier) -**Key**: `language_ejs_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -1247,9 +2265,16 @@ Disable EJS Beautification Default Beautifier to be used for EJS +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - EJS - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - EJS - Beautify On Save](#language-config---ejs---beautify-on-save) -**Key**: `language_ejs_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1257,9 +2282,16 @@ Default Beautifier to be used for EJS Automatically beautify EJS files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - EJS - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - ERB - Disable Beautifying Language](#language-config---erb---disable-beautifying-language) -**Key**: `language_erb_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1267,9 +2299,16 @@ Automatically beautify EJS files on save Disable ERB Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - ERB - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - ERB - Default Beautifier](#language-config---erb---default-beautifier) -**Key**: `language_erb_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -1281,9 +2320,16 @@ Disable ERB Beautification Default Beautifier to be used for ERB +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - ERB - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - ERB - Beautify On Save](#language-config---erb---beautify-on-save) -**Key**: `language_erb_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1291,9 +2337,16 @@ Default Beautifier to be used for ERB Automatically beautify ERB files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - ERB - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - gherkin - Disable Beautifying Language](#language-config---gherkin---disable-beautifying-language) -**Key**: `language_gherkin_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1301,9 +2354,16 @@ Automatically beautify ERB files on save Disable gherkin Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - gherkin - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - gherkin - Default Beautifier](#language-config---gherkin---default-beautifier) -**Key**: `language_gherkin_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Gherkin formatter` @@ -1315,9 +2375,16 @@ Disable gherkin Beautification Default Beautifier to be used for gherkin +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - gherkin - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - gherkin - Beautify On Save](#language-config---gherkin---beautify-on-save) -**Key**: `language_gherkin_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1325,9 +2392,16 @@ Default Beautifier to be used for gherkin Automatically beautify gherkin files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - gherkin - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Go - Disable Beautifying Language](#language-config---go---disable-beautifying-language) -**Key**: `language_go_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1335,9 +2409,16 @@ Automatically beautify gherkin files on save Disable Go Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Go - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Go - Default Beautifier](#language-config---go---default-beautifier) -**Key**: `language_go_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `gofmt` @@ -1349,9 +2430,16 @@ Disable Go Beautification Default Beautifier to be used for Go +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Go - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Go - Beautify On Save](#language-config---go---beautify-on-save) -**Key**: `language_go_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1359,9 +2447,16 @@ Default Beautifier to be used for Go Automatically beautify Go files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Go - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Fortran - Disable Beautifying Language](#language-config---fortran---disable-beautifying-language) -**Key**: `language_fortran_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1369,9 +2464,16 @@ Automatically beautify Go files on save Disable Fortran Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Fortran - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Fortran - Default Beautifier](#language-config---fortran---default-beautifier) -**Key**: `language_fortran_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Fortran Beautifier` @@ -1383,9 +2485,16 @@ Disable Fortran Beautification Default Beautifier to be used for Fortran +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Fortran - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Fortran - Beautify On Save](#language-config---fortran---beautify-on-save) -**Key**: `language_fortran_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1393,9 +2502,16 @@ Default Beautifier to be used for Fortran Automatically beautify Fortran files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Fortran - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Handlebars - Disable Beautifying Language](#language-config---handlebars---disable-beautifying-language) -**Key**: `language_handlebars_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1403,9 +2519,16 @@ Automatically beautify Fortran files on save Disable Handlebars Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Handlebars - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Handlebars - Default Beautifier](#language-config---handlebars---default-beautifier) -**Key**: `language_handlebars_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1417,9 +2540,16 @@ Disable Handlebars Beautification Default Beautifier to be used for Handlebars +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Handlebars - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Handlebars - Beautify On Save](#language-config---handlebars---beautify-on-save) -**Key**: `language_handlebars_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1427,9 +2557,16 @@ Default Beautifier to be used for Handlebars Automatically beautify Handlebars files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Handlebars - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - HTML - Disable Beautifying Language](#language-config---html---disable-beautifying-language) -**Key**: `language_html_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1437,9 +2574,16 @@ Automatically beautify Handlebars files on save Disable HTML Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - HTML - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - HTML - Default Beautifier](#language-config---html---default-beautifier) -**Key**: `language_html_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1451,9 +2595,16 @@ Disable HTML Beautification Default Beautifier to be used for HTML +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - HTML - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - HTML - Beautify On Save](#language-config---html---beautify-on-save) -**Key**: `language_html_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1461,9 +2612,16 @@ Default Beautifier to be used for HTML Automatically beautify HTML files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - HTML - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Java - Disable Beautifying Language](#language-config---java---disable-beautifying-language) -**Key**: `language_java_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1471,9 +2629,16 @@ Automatically beautify HTML files on save Disable Java Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Java - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Java - Default Beautifier](#language-config---java---default-beautifier) -**Key**: `language_java_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1485,9 +2650,16 @@ Disable Java Beautification Default Beautifier to be used for Java +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Java - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Java - Beautify On Save](#language-config---java---beautify-on-save) -**Key**: `language_java_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1495,9 +2667,16 @@ Default Beautifier to be used for Java Automatically beautify Java files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Java - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - JavaScript - Disable Beautifying Language](#language-config---javascript---disable-beautifying-language) -**Key**: `language_js_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1505,9 +2684,16 @@ Automatically beautify Java files on save Disable JavaScript Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JavaScript - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - JavaScript - Default Beautifier](#language-config---javascript---default-beautifier) -**Key**: `language_js_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1519,9 +2705,16 @@ Disable JavaScript Beautification Default Beautifier to be used for JavaScript +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JavaScript - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - JavaScript - Beautify On Save](#language-config---javascript---beautify-on-save) -**Key**: `language_js_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1529,9 +2722,16 @@ Default Beautifier to be used for JavaScript Automatically beautify JavaScript files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JavaScript - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - JSON - Disable Beautifying Language](#language-config---json---disable-beautifying-language) -**Key**: `language_json_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1539,9 +2739,16 @@ Automatically beautify JavaScript files on save Disable JSON Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSON - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - JSON - Default Beautifier](#language-config---json---default-beautifier) -**Key**: `language_json_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1553,9 +2760,16 @@ Disable JSON Beautification Default Beautifier to be used for JSON +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSON - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - JSON - Beautify On Save](#language-config---json---beautify-on-save) -**Key**: `language_json_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1563,9 +2777,16 @@ Default Beautifier to be used for JSON Automatically beautify JSON files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSON - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - JSX - Disable Beautifying Language](#language-config---jsx---disable-beautifying-language) -**Key**: `language_jsx_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1573,9 +2794,16 @@ Automatically beautify JSON files on save Disable JSX Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSX - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - JSX - Default Beautifier](#language-config---jsx---default-beautifier) -**Key**: `language_jsx_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -1587,9 +2815,16 @@ Disable JSX Beautification Default Beautifier to be used for JSX +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSX - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - JSX - Beautify On Save](#language-config---jsx---beautify-on-save) -**Key**: `language_jsx_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1597,9 +2832,16 @@ Default Beautifier to be used for JSX Automatically beautify JSX files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - JSX - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - LESS - Disable Beautifying Language](#language-config---less---disable-beautifying-language) -**Key**: `language_less_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1607,9 +2849,16 @@ Automatically beautify JSX files on save Disable LESS Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - LESS - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - LESS - Default Beautifier](#language-config---less---default-beautifier) -**Key**: `language_less_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -1621,9 +2870,16 @@ Disable LESS Beautification Default Beautifier to be used for LESS +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - LESS - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - LESS - Beautify On Save](#language-config---less---beautify-on-save) -**Key**: `language_less_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1631,9 +2887,16 @@ Default Beautifier to be used for LESS Automatically beautify LESS files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - LESS - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Markdown - Disable Beautifying Language](#language-config---markdown---disable-beautifying-language) -**Key**: `language_markdown_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1641,9 +2904,16 @@ Automatically beautify LESS files on save Disable Markdown Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Markdown - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Markdown - Default Beautifier](#language-config---markdown---default-beautifier) -**Key**: `language_markdown_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Tidy Markdown` @@ -1655,9 +2925,16 @@ Disable Markdown Beautification Default Beautifier to be used for Markdown +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Markdown - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Markdown - Beautify On Save](#language-config---markdown---beautify-on-save) -**Key**: `language_markdown_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1665,9 +2942,16 @@ Default Beautifier to be used for Markdown Automatically beautify Markdown files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Markdown - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Marko - Disable Beautifying Language](#language-config---marko---disable-beautifying-language) -**Key**: `language_marko_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1675,9 +2959,16 @@ Automatically beautify Markdown files on save Disable Marko Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Marko - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Marko - Default Beautifier](#language-config---marko---default-beautifier) -**Key**: `language_marko_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1689,9 +2980,16 @@ Disable Marko Beautification Default Beautifier to be used for Marko +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Marko - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Marko - Beautify On Save](#language-config---marko---beautify-on-save) -**Key**: `language_marko_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1699,9 +2997,16 @@ Default Beautifier to be used for Marko Automatically beautify Marko files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Marko - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Mustache - Disable Beautifying Language](#language-config---mustache---disable-beautifying-language) -**Key**: `language_mustache_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1709,9 +3014,16 @@ Automatically beautify Marko files on save Disable Mustache Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Mustache - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Mustache - Default Beautifier](#language-config---mustache---default-beautifier) -**Key**: `language_mustache_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `JS Beautify` @@ -1723,9 +3035,16 @@ Disable Mustache Beautification Default Beautifier to be used for Mustache +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Mustache - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Mustache - Beautify On Save](#language-config---mustache---beautify-on-save) -**Key**: `language_mustache_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1733,9 +3052,16 @@ Default Beautifier to be used for Mustache Automatically beautify Mustache files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Mustache - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Objective-C - Disable Beautifying Language](#language-config---objective-c---disable-beautifying-language) -**Key**: `language_objectivec_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1743,9 +3069,16 @@ Automatically beautify Mustache files on save Disable Objective-C Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Objective-C - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Objective-C - Default Beautifier](#language-config---objective-c---default-beautifier) -**Key**: `language_objectivec_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1757,9 +3090,16 @@ Disable Objective-C Beautification Default Beautifier to be used for Objective-C +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Objective-C - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Objective-C - Beautify On Save](#language-config---objective-c---beautify-on-save) -**Key**: `language_objectivec_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1767,9 +3107,16 @@ Default Beautifier to be used for Objective-C Automatically beautify Objective-C files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Objective-C - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Pawn - Disable Beautifying Language](#language-config---pawn---disable-beautifying-language) -**Key**: `language_pawn_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1777,9 +3124,16 @@ Automatically beautify Objective-C files on save Disable Pawn Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Pawn - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Pawn - Default Beautifier](#language-config---pawn---default-beautifier) -**Key**: `language_pawn_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -1791,9 +3145,16 @@ Disable Pawn Beautification Default Beautifier to be used for Pawn +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Pawn - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Pawn - Beautify On Save](#language-config---pawn---beautify-on-save) -**Key**: `language_pawn_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1801,9 +3162,16 @@ Default Beautifier to be used for Pawn Automatically beautify Pawn files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Pawn - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Perl - Disable Beautifying Language](#language-config---perl---disable-beautifying-language) -**Key**: `language_perl_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1811,9 +3179,16 @@ Automatically beautify Pawn files on save Disable Perl Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Perl - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Perl - Default Beautifier](#language-config---perl---default-beautifier) -**Key**: `language_perl_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Perltidy` @@ -1825,9 +3200,16 @@ Disable Perl Beautification Default Beautifier to be used for Perl +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Perl - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Perl - Beautify On Save](#language-config---perl---beautify-on-save) -**Key**: `language_perl_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1835,9 +3217,16 @@ Default Beautifier to be used for Perl Automatically beautify Perl files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Perl - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - PHP - Disable Beautifying Language](#language-config---php---disable-beautifying-language) -**Key**: `language_php_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1845,9 +3234,16 @@ Automatically beautify Perl files on save Disable PHP Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - PHP - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - PHP - Default Beautifier](#language-config---php---default-beautifier) -**Key**: `language_php_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `PHP-CS-Fixer` @@ -1859,9 +3255,16 @@ Disable PHP Beautification Default Beautifier to be used for PHP +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - PHP - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - PHP - Beautify On Save](#language-config---php---beautify-on-save) -**Key**: `language_php_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1869,9 +3272,16 @@ Default Beautifier to be used for PHP Automatically beautify PHP files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - PHP - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Puppet - Disable Beautifying Language](#language-config---puppet---disable-beautifying-language) -**Key**: `language_puppet_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1879,9 +3289,16 @@ Automatically beautify PHP files on save Disable Puppet Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Puppet - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Puppet - Default Beautifier](#language-config---puppet---default-beautifier) -**Key**: `language_puppet_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `puppet-lint` @@ -1893,9 +3310,16 @@ Disable Puppet Beautification Default Beautifier to be used for Puppet +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Puppet - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Puppet - Beautify On Save](#language-config---puppet---beautify-on-save) -**Key**: `language_puppet_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1903,9 +3327,16 @@ Default Beautifier to be used for Puppet Automatically beautify Puppet files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Puppet - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Python - Disable Beautifying Language](#language-config---python---disable-beautifying-language) -**Key**: `language_python_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1913,9 +3344,16 @@ Automatically beautify Puppet files on save Disable Python Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Python - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Python - Default Beautifier](#language-config---python---default-beautifier) -**Key**: `language_python_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `autopep8` @@ -1927,9 +3365,16 @@ Disable Python Beautification Default Beautifier to be used for Python +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Python - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Python - Beautify On Save](#language-config---python---beautify-on-save) -**Key**: `language_python_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1937,9 +3382,16 @@ Default Beautifier to be used for Python Automatically beautify Python files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Python - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Ruby - Disable Beautifying Language](#language-config---ruby---disable-beautifying-language) -**Key**: `language_ruby_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1947,9 +3399,16 @@ Automatically beautify Python files on save Disable Ruby Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Ruby - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Ruby - Default Beautifier](#language-config---ruby---default-beautifier) -**Key**: `language_ruby_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Rubocop` @@ -1961,9 +3420,16 @@ Disable Ruby Beautification Default Beautifier to be used for Ruby +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Ruby - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Ruby - Beautify On Save](#language-config---ruby---beautify-on-save) -**Key**: `language_ruby_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1971,9 +3437,16 @@ Default Beautifier to be used for Ruby Automatically beautify Ruby files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Ruby - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Rust - Disable Beautifying Language](#language-config---rust---disable-beautifying-language) -**Key**: `language_rust_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -1981,9 +3454,16 @@ Automatically beautify Ruby files on save Disable Rust Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Rust - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Rust - Default Beautifier](#language-config---rust---default-beautifier) -**Key**: `language_rust_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `rustfmt` @@ -1995,9 +3475,16 @@ Disable Rust Beautification Default Beautifier to be used for Rust +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Rust - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Rust - Beautify On Save](#language-config---rust---beautify-on-save) -**Key**: `language_rust_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2005,9 +3492,16 @@ Default Beautifier to be used for Rust Automatically beautify Rust files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Rust - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Sass - Disable Beautifying Language](#language-config---sass---disable-beautifying-language) -**Key**: `language_sass_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2015,9 +3509,16 @@ Automatically beautify Rust files on save Disable Sass Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Sass - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Sass - Default Beautifier](#language-config---sass---default-beautifier) -**Key**: `language_sass_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2029,9 +3530,16 @@ Disable Sass Beautification Default Beautifier to be used for Sass +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Sass - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Sass - Beautify On Save](#language-config---sass---beautify-on-save) -**Key**: `language_sass_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2039,9 +3547,16 @@ Default Beautifier to be used for Sass Automatically beautify Sass files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Sass - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - SCSS - Disable Beautifying Language](#language-config---scss---disable-beautifying-language) -**Key**: `language_scss_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2049,9 +3564,16 @@ Automatically beautify Sass files on save Disable SCSS Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SCSS - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - SCSS - Default Beautifier](#language-config---scss---default-beautifier) -**Key**: `language_scss_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2063,9 +3585,16 @@ Disable SCSS Beautification Default Beautifier to be used for SCSS +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SCSS - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - SCSS - Beautify On Save](#language-config---scss---beautify-on-save) -**Key**: `language_scss_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2073,9 +3602,16 @@ Default Beautifier to be used for SCSS Automatically beautify SCSS files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SCSS - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Spacebars - Disable Beautifying Language](#language-config---spacebars---disable-beautifying-language) -**Key**: `language_spacebars_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2083,9 +3619,16 @@ Automatically beautify SCSS files on save Disable Spacebars Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Spacebars - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Spacebars - Default Beautifier](#language-config---spacebars---default-beautifier) -**Key**: `language_spacebars_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2097,9 +3640,16 @@ Disable Spacebars Beautification Default Beautifier to be used for Spacebars +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Spacebars - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Spacebars - Beautify On Save](#language-config---spacebars---beautify-on-save) -**Key**: `language_spacebars_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2107,9 +3657,16 @@ Default Beautifier to be used for Spacebars Automatically beautify Spacebars files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Spacebars - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - SQL - Disable Beautifying Language](#language-config---sql---disable-beautifying-language) -**Key**: `language_sql_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2117,9 +3674,16 @@ Automatically beautify Spacebars files on save Disable SQL Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SQL - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - SQL - Default Beautifier](#language-config---sql---default-beautifier) -**Key**: `language_sql_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `sqlformat` @@ -2131,9 +3695,16 @@ Disable SQL Beautification Default Beautifier to be used for SQL +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SQL - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - SQL - Beautify On Save](#language-config---sql---beautify-on-save) -**Key**: `language_sql_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2141,9 +3712,16 @@ Default Beautifier to be used for SQL Automatically beautify SQL files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SQL - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - SVG - Disable Beautifying Language](#language-config---svg---disable-beautifying-language) -**Key**: `language_svg_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2151,9 +3729,16 @@ Automatically beautify SQL files on save Disable SVG Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SVG - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - SVG - Default Beautifier](#language-config---svg---default-beautifier) -**Key**: `language_svg_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2165,9 +3750,16 @@ Disable SVG Beautification Default Beautifier to be used for SVG +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SVG - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - SVG - Beautify On Save](#language-config---svg---beautify-on-save) -**Key**: `language_svg_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2175,9 +3767,16 @@ Default Beautifier to be used for SVG Automatically beautify SVG files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - SVG - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Swig - Disable Beautifying Language](#language-config---swig---disable-beautifying-language) -**Key**: `language_swig_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2185,9 +3784,16 @@ Automatically beautify SVG files on save Disable Swig Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Swig - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Swig - Default Beautifier](#language-config---swig---default-beautifier) -**Key**: `language_swig_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2199,9 +3805,16 @@ Disable Swig Beautification Default Beautifier to be used for Swig +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Swig - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Swig - Beautify On Save](#language-config---swig---beautify-on-save) -**Key**: `language_swig_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2209,9 +3822,16 @@ Default Beautifier to be used for Swig Automatically beautify Swig files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Swig - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - TSS - Disable Beautifying Language](#language-config---tss---disable-beautifying-language) -**Key**: `language_tss_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2219,9 +3839,16 @@ Automatically beautify Swig files on save Disable TSS Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TSS - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - TSS - Default Beautifier](#language-config---tss---default-beautifier) -**Key**: `language_tss_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2233,9 +3860,16 @@ Disable TSS Beautification Default Beautifier to be used for TSS +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TSS - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - TSS - Beautify On Save](#language-config---tss---beautify-on-save) -**Key**: `language_tss_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2243,9 +3877,16 @@ Default Beautifier to be used for TSS Automatically beautify TSS files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TSS - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Twig - Disable Beautifying Language](#language-config---twig---disable-beautifying-language) -**Key**: `language_twig_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2253,9 +3894,16 @@ Automatically beautify TSS files on save Disable Twig Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Twig - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Twig - Default Beautifier](#language-config---twig---default-beautifier) -**Key**: `language_twig_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2267,9 +3915,16 @@ Disable Twig Beautification Default Beautifier to be used for Twig +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Twig - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Twig - Beautify On Save](#language-config---twig---beautify-on-save) -**Key**: `language_twig_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2277,9 +3932,16 @@ Default Beautifier to be used for Twig Automatically beautify Twig files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Twig - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - TypeScript - Disable Beautifying Language](#language-config---typescript---disable-beautifying-language) -**Key**: `language_typescript_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2287,9 +3949,16 @@ Automatically beautify Twig files on save Disable TypeScript Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TypeScript - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - TypeScript - Default Beautifier](#language-config---typescript---default-beautifier) -**Key**: `language_typescript_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `TypeScript Formatter` @@ -2301,9 +3970,16 @@ Disable TypeScript Beautification Default Beautifier to be used for TypeScript +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TypeScript - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - TypeScript - Beautify On Save](#language-config---typescript---beautify-on-save) -**Key**: `language_typescript_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2311,9 +3987,16 @@ Default Beautifier to be used for TypeScript Automatically beautify TypeScript files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - TypeScript - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Vala - Disable Beautifying Language](#language-config---vala---disable-beautifying-language) -**Key**: `language_vala_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2321,9 +4004,16 @@ Automatically beautify TypeScript files on save Disable Vala Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Vala - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Vala - Default Beautifier](#language-config---vala---default-beautifier) -**Key**: `language_vala_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Uncrustify` @@ -2335,9 +4025,16 @@ Disable Vala Beautification Default Beautifier to be used for Vala +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Vala - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Vala - Beautify On Save](#language-config---vala---beautify-on-save) -**Key**: `language_vala_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2345,9 +4042,16 @@ Default Beautifier to be used for Vala Automatically beautify Vala files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Vala - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - Visualforce - Disable Beautifying Language](#language-config---visualforce---disable-beautifying-language) -**Key**: `language_visualforce_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2355,9 +4059,16 @@ Automatically beautify Vala files on save Disable Visualforce Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Visualforce - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - Visualforce - Default Beautifier](#language-config---visualforce---default-beautifier) -**Key**: `language_visualforce_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2369,9 +4080,16 @@ Disable Visualforce Beautification Default Beautifier to be used for Visualforce +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Visualforce - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - Visualforce - Beautify On Save](#language-config---visualforce---beautify-on-save) -**Key**: `language_visualforce_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2379,9 +4097,16 @@ Default Beautifier to be used for Visualforce Automatically beautify Visualforce files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - Visualforce - Beautify On Save*" and change it to your desired configuration. + #### [Language Config - XML - Disable Beautifying Language](#language-config---xml---disable-beautifying-language) -**Key**: `language_xml_disabled` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2389,9 +4114,16 @@ Automatically beautify Visualforce files on save Disable XML Beautification +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - XML - Disable Beautifying Language*" and change it to your desired configuration. + #### [Language Config - XML - Default Beautifier](#language-config---xml---default-beautifier) -**Key**: `language_xml_default_beautifier` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Default**: `Pretty Diff` @@ -2403,9 +4135,16 @@ Disable XML Beautification Default Beautifier to be used for XML +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - XML - Default Beautifier*" and change it to your desired configuration. + #### [Language Config - XML - Beautify On Save](#language-config---xml---beautify-on-save) -**Key**: `language_xml_beautify_on_save` +**Important**: This option is only configurable from within Atom Beautify's setting panel. **Type**: `boolean` @@ -2413,6 +4152,13 @@ Default Beautifier to be used for XML Automatically beautify XML files on save +**How to Configure** + +1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to +*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*. +2. Go into *Packages* and search for "*Atom Beautify*" package. +3. Find the option "*Language Config - XML - Beautify On Save*" and change it to your desired configuration. + ## Beautifier Options @@ -2424,7 +4170,9 @@ Supported options for each beautifier. #### [Arduino - Config Path](#arduino---config-path) -**Key**: `arduino_configPath` +**Namespace**: `arduino` + +**Key**: `configPath` **Type**: `string` @@ -2434,9 +4182,21 @@ Supported options for each beautifier. Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "arduino": { + "configPath": "" + } +} +``` + #### [C# - Config Path](#c---config-path) -**Key**: `cs_configPath` +**Namespace**: `cs` + +**Key**: `configPath` **Type**: `string` @@ -2446,9 +4206,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "cs": { + "configPath": "" + } +} +``` + #### [C - Config Path](#c---config-path) -**Key**: `c_configPath` +**Namespace**: `c` + +**Key**: `configPath` **Type**: `string` @@ -2458,9 +4230,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "c": { + "configPath": "" + } +} +``` + #### [C++ - Config Path](#c---config-path) -**Key**: `cpp_configPath` +**Namespace**: `cpp` + +**Key**: `configPath` **Type**: `string` @@ -2470,9 +4254,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "cpp": { + "configPath": "" + } +} +``` + #### [D - Config Path](#d---config-path) -**Key**: `d_configPath` +**Namespace**: `d` + +**Key**: `configPath` **Type**: `string` @@ -2482,9 +4278,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "d": { + "configPath": "" + } +} +``` + #### [Java - Config Path](#java---config-path) -**Key**: `java_configPath` +**Namespace**: `java` + +**Key**: `configPath` **Type**: `string` @@ -2494,9 +4302,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "java": { + "configPath": "" + } +} +``` + #### [Objective-C - Config Path](#objective-c---config-path) -**Key**: `objectivec_configPath` +**Namespace**: `objectivec` + +**Key**: `configPath` **Type**: `string` @@ -2506,9 +4326,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "objectivec": { + "configPath": "" + } +} +``` + #### [Pawn - Config Path](#pawn---config-path) -**Key**: `pawn_configPath` +**Namespace**: `pawn` + +**Key**: `configPath` **Type**: `string` @@ -2518,9 +4350,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "pawn": { + "configPath": "" + } +} +``` + #### [Vala - Config Path](#vala---config-path) -**Key**: `vala_configPath` +**Namespace**: `vala` + +**Key**: `configPath` **Type**: `string` @@ -2530,12 +4374,24 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "vala": { + "configPath": "" + } +} +``` + ### JS Beautify #### [CSS - Indent size](#css---indent-size) -**Key**: `css_indent_size` +**Namespace**: `css` + +**Key**: `indent_size` **Default**: `4` @@ -2547,9 +4403,21 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_size": 4 + } +} +``` + #### [CSS - Indent char](#css---indent-char) -**Key**: `css_indent_char` +**Namespace**: `css` + +**Key**: `indent_char` **Default**: ` ` @@ -2561,9 +4429,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_char": " " + } +} +``` + #### [CSS - Selector separator newline](#css---selector-separator-newline) -**Key**: `css_selector_separator_newline` +**Namespace**: `css` + +**Key**: `selector_separator_newline` **Type**: `boolean` @@ -2573,9 +4453,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Add a newline between multiple selectors (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "selector_separator_newline": false + } +} +``` + #### [CSS - Newline between rules](#css---newline-between-rules) -**Key**: `css_newline_between_rules` +**Namespace**: `css` + +**Key**: `newline_between_rules` **Type**: `boolean` @@ -2585,9 +4477,21 @@ Add a newline between multiple selectors (Supported by JS Beautify) Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "newline_between_rules": false + } +} +``` + #### [CSS - Preserve newlines](#css---preserve-newlines) -**Key**: `css_preserve_newlines` +**Namespace**: `css` + +**Key**: `preserve_newlines` **Type**: `boolean` @@ -2597,9 +4501,21 @@ Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) Retain empty lines. Consecutive empty lines will be converted to a single empty line. (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "preserve_newlines": false + } +} +``` + #### [CSS - Wrap line length](#css---wrap-line-length) -**Key**: `css_wrap_line_length` +**Namespace**: `css` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -2609,9 +4525,21 @@ Retain empty lines. Consecutive empty lines will be converted to a single empty Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "wrap_line_length": 0 + } +} +``` + #### [HTML - Indent inner html](#html---indent-inner-html) -**Key**: `html_indent_inner_html` +**Namespace**: `html` + +**Key**: `indent_inner_html` **Type**: `boolean` @@ -2621,9 +4549,21 @@ Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, P Indent <head> and <body> sections. (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_inner_html": false + } +} +``` + #### [HTML - Indent size](#html---indent-size) -**Key**: `html_indent_size` +**Namespace**: `html` + +**Key**: `indent_size` **Default**: `4` @@ -2635,9 +4575,21 @@ Indent <head> and <body> sections. (Supported by JS Beautify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_size": 4 + } +} +``` + #### [HTML - Indent char](#html---indent-char) -**Key**: `html_indent_char` +**Namespace**: `html` + +**Key**: `indent_char` **Default**: ` ` @@ -2649,9 +4601,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_char": " " + } +} +``` + #### [HTML - Brace style](#html---brace-style) -**Key**: `html_brace_style` +**Namespace**: `html` + +**Key**: `brace_style` **Default**: `collapse` @@ -2665,9 +4629,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) [collapse|expand|end-expand|none] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "brace_style": "collapse" + } +} +``` + #### [HTML - Indent scripts](#html---indent-scripts) -**Key**: `html_indent_scripts` +**Namespace**: `html` + +**Key**: `indent_scripts` **Default**: `normal` @@ -2681,9 +4657,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) [keep|separate|normal] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_scripts": "normal" + } +} +``` + #### [HTML - Wrap line length](#html---wrap-line-length) -**Key**: `html_wrap_line_length` +**Namespace**: `html` + +**Key**: `wrap_line_length` **Default**: `250` @@ -2695,9 +4683,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_line_length": 250 + } +} +``` + #### [HTML - Wrap attributes](#html---wrap-attributes) -**Key**: `html_wrap_attributes` +**Namespace**: `html` + +**Key**: `wrap_attributes` **Default**: `auto` @@ -2711,9 +4711,21 @@ Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) Wrap attributes to new lines [auto|force] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_attributes": "auto" + } +} +``` + #### [HTML - Wrap attributes indent size](#html---wrap-attributes-indent-size) -**Key**: `html_wrap_attributes_indent_size` +**Namespace**: `html` + +**Key**: `wrap_attributes_indent_size` **Default**: `4` @@ -2725,9 +4737,21 @@ Wrap attributes to new lines [auto|force] (Supported by JS Beautify) Indent wrapped attributes to after N characters (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_attributes_indent_size": 4 + } +} +``` + #### [HTML - Preserve newlines](#html---preserve-newlines) -**Key**: `html_preserve_newlines` +**Namespace**: `html` + +**Key**: `preserve_newlines` **Default**: `true` @@ -2739,9 +4763,21 @@ Indent wrapped attributes to after N characters (Supported by JS Beautify) Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "preserve_newlines": true + } +} +``` + #### [HTML - Max preserve newlines](#html---max-preserve-newlines) -**Key**: `html_max_preserve_newlines` +**Namespace**: `html` + +**Key**: `max_preserve_newlines` **Default**: `10` @@ -2753,9 +4789,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "max_preserve_newlines": 10 + } +} +``` + #### [HTML - Unformatted](#html---unformatted) -**Key**: `html_unformatted` +**Namespace**: `html` + +**Key**: `unformatted` **Default**: `a,sub,sup,b,i,u` @@ -2767,9 +4815,28 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) List of tags (defaults to inline) that should not be reformatted (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "unformatted": [ + "a", + "sub", + "sup", + "b", + "i", + "u" + ] + } +} +``` + #### [HTML - End with newline](#html---end-with-newline) -**Key**: `html_end_with_newline` +**Namespace**: `html` + +**Key**: `end_with_newline` **Type**: `boolean` @@ -2779,9 +4846,21 @@ List of tags (defaults to inline) that should not be reformatted (Supported by J End output with newline (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "end_with_newline": false + } +} +``` + #### [JavaScript - Indent size](#javascript---indent-size) -**Key**: `js_indent_size` +**Namespace**: `js` + +**Key**: `indent_size` **Default**: `4` @@ -2793,9 +4872,21 @@ End output with newline (Supported by JS Beautify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_size": 4 + } +} +``` + #### [JavaScript - Indent char](#javascript---indent-char) -**Key**: `js_indent_char` +**Namespace**: `js` + +**Key**: `indent_char` **Default**: ` ` @@ -2807,9 +4898,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_char": " " + } +} +``` + #### [JavaScript - Indent level](#javascript---indent-level) -**Key**: `js_indent_level` +**Namespace**: `js` + +**Key**: `indent_level` **Type**: `integer` @@ -2819,9 +4922,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Initial indentation level (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_level": 0 + } +} +``` + #### [JavaScript - Indent with tabs](#javascript---indent-with-tabs) -**Key**: `js_indent_with_tabs` +**Namespace**: `js` + +**Key**: `indent_with_tabs` **Type**: `boolean` @@ -2831,9 +4946,21 @@ Initial indentation level (Supported by JS Beautify) Indentation uses tabs, overrides `Indent Size` and `Indent Char` (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_with_tabs": false + } +} +``` + #### [JavaScript - Preserve newlines](#javascript---preserve-newlines) -**Key**: `js_preserve_newlines` +**Namespace**: `js` + +**Key**: `preserve_newlines` **Default**: `true` @@ -2845,9 +4972,21 @@ Indentation uses tabs, overrides `Indent Size` and `Indent Char&# Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "preserve_newlines": true + } +} +``` + #### [JavaScript - Max preserve newlines](#javascript---max-preserve-newlines) -**Key**: `js_max_preserve_newlines` +**Namespace**: `js` + +**Key**: `max_preserve_newlines` **Default**: `10` @@ -2859,9 +4998,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "max_preserve_newlines": 10 + } +} +``` + #### [JavaScript - Space in paren](#javascript---space-in-paren) -**Key**: `js_space_in_paren` +**Namespace**: `js` + +**Key**: `space_in_paren` **Type**: `boolean` @@ -2871,9 +5022,21 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify) Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_in_paren": false + } +} +``` + #### [JavaScript - Jslint happy](#javascript---jslint-happy) -**Key**: `js_jslint_happy` +**Namespace**: `js` + +**Key**: `jslint_happy` **Type**: `boolean` @@ -2883,9 +5046,21 @@ Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify) Enable jslint-stricter mode (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "jslint_happy": false + } +} +``` + #### [JavaScript - Space after anon function](#javascript---space-after-anon-function) -**Key**: `js_space_after_anon_function` +**Namespace**: `js` + +**Key**: `space_after_anon_function` **Type**: `boolean` @@ -2895,9 +5070,21 @@ Enable jslint-stricter mode (Supported by JS Beautify) Add a space before an anonymous function's parens, ie. function () (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_after_anon_function": false + } +} +``` + #### [JavaScript - Brace style](#javascript---brace-style) -**Key**: `js_brace_style` +**Namespace**: `js` + +**Key**: `brace_style` **Default**: `collapse` @@ -2911,9 +5098,21 @@ Add a space before an anonymous function's parens, ie. function () (Support [collapse|expand|end-expand|none] (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "brace_style": "collapse" + } +} +``` + #### [JavaScript - Break chained methods](#javascript---break-chained-methods) -**Key**: `js_break_chained_methods` +**Namespace**: `js` + +**Key**: `break_chained_methods` **Type**: `boolean` @@ -2923,9 +5122,21 @@ Add a space before an anonymous function's parens, ie. function () (Support Break chained method calls across subsequent lines (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "break_chained_methods": false + } +} +``` + #### [JavaScript - Keep array indentation](#javascript---keep-array-indentation) -**Key**: `js_keep_array_indentation` +**Namespace**: `js` + +**Key**: `keep_array_indentation` **Type**: `boolean` @@ -2935,9 +5146,21 @@ Break chained method calls across subsequent lines (Supported by JS Beautify) Preserve array indentation (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "keep_array_indentation": false + } +} +``` + #### [JavaScript - Keep function indentation](#javascript---keep-function-indentation) -**Key**: `js_keep_function_indentation` +**Namespace**: `js` + +**Key**: `keep_function_indentation` **Type**: `boolean` @@ -2947,9 +5170,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "keep_function_indentation": false + } +} +``` + #### [JavaScript - Space before conditional](#javascript---space-before-conditional) -**Key**: `js_space_before_conditional` +**Namespace**: `js` + +**Key**: `space_before_conditional` **Default**: `true` @@ -2961,9 +5196,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_before_conditional": true + } +} +``` + #### [JavaScript - Eval code](#javascript---eval-code) -**Key**: `js_eval_code` +**Namespace**: `js` + +**Key**: `eval_code` **Type**: `boolean` @@ -2973,9 +5220,21 @@ Preserve array indentation (Supported by JS Beautify) (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "eval_code": false + } +} +``` + #### [JavaScript - Unescape strings](#javascript---unescape-strings) -**Key**: `js_unescape_strings` +**Namespace**: `js` + +**Key**: `unescape_strings` **Type**: `boolean` @@ -2985,9 +5244,21 @@ Preserve array indentation (Supported by JS Beautify) Decode printable characters encoded in xNN notation (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "unescape_strings": false + } +} +``` + #### [JavaScript - Wrap line length](#javascript---wrap-line-length) -**Key**: `js_wrap_line_length` +**Namespace**: `js` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -2997,9 +5268,21 @@ Decode printable characters encoded in xNN notation (Supported by JS Beautify) Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "wrap_line_length": 0 + } +} +``` + #### [JavaScript - End with newline](#javascript---end-with-newline) -**Key**: `js_end_with_newline` +**Namespace**: `js` + +**Key**: `end_with_newline` **Type**: `boolean` @@ -3009,12 +5292,24 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre End output with newline (Supported by JS Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "end_with_newline": false + } +} +``` + ### Pretty Diff #### [CSS - Indent size](#css---indent-size) -**Key**: `css_indent_size` +**Namespace**: `css` + +**Key**: `indent_size` **Default**: `4` @@ -3026,9 +5321,21 @@ End output with newline (Supported by JS Beautify) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_size": 4 + } +} +``` + #### [CSS - Indent char](#css---indent-char) -**Key**: `css_indent_char` +**Namespace**: `css` + +**Key**: `indent_char` **Default**: ` ` @@ -3040,9 +5347,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_char": " " + } +} +``` + #### [CSS - Newline between rules](#css---newline-between-rules) -**Key**: `css_newline_between_rules` +**Namespace**: `css` + +**Key**: `newline_between_rules` **Type**: `boolean` @@ -3052,9 +5371,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "newline_between_rules": false + } +} +``` + #### [CSS - Preserve newlines](#css---preserve-newlines) -**Key**: `css_preserve_newlines` +**Namespace**: `css` + +**Key**: `preserve_newlines` **Type**: `boolean` @@ -3064,9 +5395,21 @@ Add a newline between CSS rules (Supported by JS Beautify, Pretty Diff) Retain empty lines. Consecutive empty lines will be converted to a single empty line. (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "preserve_newlines": false + } +} +``` + #### [CSS - Wrap line length](#css---wrap-line-length) -**Key**: `css_wrap_line_length` +**Namespace**: `css` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -3076,9 +5419,21 @@ Retain empty lines. Consecutive empty lines will be converted to a single empty Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "wrap_line_length": 0 + } +} +``` + #### [CSS - Indent comments](#css---indent-comments) -**Key**: `css_indent_comments` +**Namespace**: `css` + +**Key**: `indent_comments` **Default**: `true` @@ -3090,9 +5445,21 @@ Maximum amount of characters per line (0 = disable) (Supported by JS Beautify, P Determines whether comments should be indented. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "indent_comments": true + } +} +``` + #### [CSS - Force indentation](#css---force-indentation) -**Key**: `css_force_indentation` +**Namespace**: `css` + +**Key**: `force_indentation` **Type**: `boolean` @@ -3102,9 +5469,21 @@ Determines whether comments should be indented. (Supported by Pretty Diff) if indentation should be forcefully applied tomarkup even if it disruptively adds unintended whitespace to the documents rendered output (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "force_indentation": false + } +} +``` + #### [CSS - Convert quotes](#css---convert-quotes) -**Key**: `css_convert_quotes` +**Namespace**: `css` + +**Key**: `convert_quotes` **Default**: `none` @@ -3118,9 +5497,21 @@ if indentation should be forcefully applied tomarkup even if it disruptively add Convert the quote characters delimiting strings from either double or single quotes to the other. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "convert_quotes": "none" + } +} +``` + #### [CSS - Align assignments](#css---align-assignments) -**Key**: `css_align_assignments` +**Namespace**: `css` + +**Key**: `align_assignments` **Type**: `boolean` @@ -3130,9 +5521,21 @@ Convert the quote characters delimiting strings from either double or single quo If lists of assignments or properties should be vertically aligned for faster and easier reading. (Supported by Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "css": { + "align_assignments": false + } +} +``` + #### [HTML - Indent size](#html---indent-size) -**Key**: `html_indent_size` +**Namespace**: `html` + +**Key**: `indent_size` **Default**: `4` @@ -3144,9 +5547,21 @@ If lists of assignments or properties should be vertically aligned for faster an Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_size": 4 + } +} +``` + #### [HTML - Indent char](#html---indent-char) -**Key**: `html_indent_char` +**Namespace**: `html` + +**Key**: `indent_char` **Default**: ` ` @@ -3158,9 +5573,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "indent_char": " " + } +} +``` + #### [HTML - Wrap line length](#html---wrap-line-length) -**Key**: `html_wrap_line_length` +**Namespace**: `html` + +**Key**: `wrap_line_length` **Default**: `250` @@ -3172,9 +5599,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "wrap_line_length": 250 + } +} +``` + #### [HTML - Preserve newlines](#html---preserve-newlines) -**Key**: `html_preserve_newlines` +**Namespace**: `html` + +**Key**: `preserve_newlines` **Default**: `true` @@ -3186,9 +5625,21 @@ Maximum characters per line (0 disables) (Supported by JS Beautify, Pretty Diff) Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "html": { + "preserve_newlines": true + } +} +``` + #### [JavaScript - Indent size](#javascript---indent-size) -**Key**: `js_indent_size` +**Namespace**: `js` + +**Key**: `indent_size` **Default**: `4` @@ -3200,9 +5651,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Indentation size/length (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_size": 4 + } +} +``` + #### [JavaScript - Indent char](#javascript---indent-char) -**Key**: `js_indent_char` +**Namespace**: `js` + +**Key**: `indent_char` **Default**: ` ` @@ -3214,9 +5677,21 @@ Indentation size/length (Supported by JS Beautify, Pretty Diff) Indentation character (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "indent_char": " " + } +} +``` + #### [JavaScript - Preserve newlines](#javascript---preserve-newlines) -**Key**: `js_preserve_newlines` +**Namespace**: `js` + +**Key**: `preserve_newlines` **Default**: `true` @@ -3228,9 +5703,21 @@ Indentation character (Supported by JS Beautify, Pretty Diff) Preserve line-breaks (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "preserve_newlines": true + } +} +``` + #### [JavaScript - Space after anon function](#javascript---space-after-anon-function) -**Key**: `js_space_after_anon_function` +**Namespace**: `js` + +**Key**: `space_after_anon_function` **Type**: `boolean` @@ -3240,9 +5727,21 @@ Preserve line-breaks (Supported by JS Beautify, Pretty Diff) Add a space before an anonymous function's parens, ie. function () (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "space_after_anon_function": false + } +} +``` + #### [JavaScript - Wrap line length](#javascript---wrap-line-length) -**Key**: `js_wrap_line_length` +**Namespace**: `js` + +**Key**: `wrap_line_length` **Type**: `integer` @@ -3252,12 +5751,24 @@ Add a space before an anonymous function's parens, ie. function () (Support Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pretty Diff) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "js": { + "wrap_line_length": 0 + } +} +``` + ### Gherkin formatter #### [gherkin - Indent size](#gherkin---indent-size) -**Key**: `gherkin_indent_size` +**Namespace**: `gherkin` + +**Key**: `indent_size` **Default**: `4` @@ -3269,9 +5780,21 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre Indentation size/length (Supported by Gherkin formatter) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "gherkin": { + "indent_size": 4 + } +} +``` + #### [gherkin - Indent char](#gherkin---indent-char) -**Key**: `gherkin_indent_char` +**Namespace**: `gherkin` + +**Key**: `indent_char` **Default**: ` ` @@ -3283,12 +5806,24 @@ Indentation size/length (Supported by Gherkin formatter) Indentation character (Supported by Gherkin formatter) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "gherkin": { + "indent_char": " " + } +} +``` + ### Fortran Beautifier #### [Fortran - Emacs path](#fortran---emacs-path) -**Key**: `fortran_emacs_path` +**Namespace**: `fortran` + +**Key**: `emacs_path` **Type**: `string` @@ -3298,9 +5833,21 @@ Indentation character (Supported by Gherkin formatter) Path to the `emacs` executable (Supported by Fortran Beautifier) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "fortran": { + "emacs_path": "" + } +} +``` + #### [Fortran - Emacs script path](#fortran---emacs-script-path) -**Key**: `fortran_emacs_script_path` +**Namespace**: `fortran` + +**Key**: `emacs_script_path` **Type**: `string` @@ -3310,12 +5857,24 @@ Path to the `emacs` executable (Supported by Fortran Beautifier) Path to the emacs script (Supported by Fortran Beautifier) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "fortran": { + "emacs_script_path": "" + } +} +``` + ### Perltidy #### [Perl - Perltidy profile](#perl---perltidy-profile) -**Key**: `perl_perltidy_profile` +**Namespace**: `perl` + +**Key**: `perltidy_profile` **Type**: `string` @@ -3325,12 +5884,24 @@ Path to the emacs script (Supported by Fortran Beautifier) Specify a configuration file which will override the default name of .perltidyrc (Supported by Perltidy) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "perl": { + "perltidy_profile": "" + } +} +``` + ### PHP-CS-Fixer #### [PHP - PHP-CS-Fixer Path](#php---php-cs-fixer-path) -**Key**: `php_cs_fixer_path` +**Namespace**: `php` + +**Key**: `cs_fixer_path` **Type**: `string` @@ -3340,9 +5911,21 @@ Specify a configuration file which will override the default name of .perltidyrc Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "cs_fixer_path": "" + } +} +``` + #### [PHP - Fixers](#php---fixers) -**Key**: `php_fixers` +**Namespace**: `php` + +**Key**: `fixers` **Type**: `string` @@ -3352,9 +5935,21 @@ Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer) Add fixer(s). i.e. linefeed,-short_tag,indentation (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "fixers": "" + } +} +``` + #### [PHP - Level](#php---level) -**Key**: `php_level` +**Namespace**: `php` + +**Key**: `level` **Type**: `string` @@ -3364,12 +5959,24 @@ Add fixer(s). i.e. linefeed,-short_tag,indentation (Supported by PHP-CS-Fixer) By default, all PSR-2 fixers and some additional ones are run. (Supported by PHP-CS-Fixer) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "level": "" + } +} +``` + ### autopep8 #### [Python - Max line length](#python---max-line-length) -**Key**: `python_max_line_length` +**Namespace**: `python` + +**Key**: `max_line_length` **Default**: `79` @@ -3381,9 +5988,21 @@ By default, all PSR-2 fixers and some additional ones are run. (Supported by PHP set maximum allowed line length (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "max_line_length": 79 + } +} +``` + #### [Python - Indent size](#python---indent-size) -**Key**: `python_indent_size` +**Namespace**: `python` + +**Key**: `indent_size` **Default**: `4` @@ -3395,9 +6014,21 @@ set maximum allowed line length (Supported by autopep8) Indentation size/length (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "indent_size": 4 + } +} +``` + #### [Python - Ignore](#python---ignore) -**Key**: `python_ignore` +**Namespace**: `python` + +**Key**: `ignore` **Default**: `E24` @@ -3409,12 +6040,26 @@ Indentation size/length (Supported by autopep8) do not fix these errors/warnings (Supported by autopep8) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "ignore": [ + "E24" + ] + } +} +``` + ### Rubocop #### [Ruby - Indent size](#ruby---indent-size) -**Key**: `ruby_indent_size` +**Namespace**: `ruby` + +**Key**: `indent_size` **Default**: `4` @@ -3426,12 +6071,24 @@ do not fix these errors/warnings (Supported by autopep8) Indentation size/length (Supported by Rubocop, Ruby Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "ruby": { + "indent_size": 4 + } +} +``` + ### Ruby Beautify #### [Ruby - Indent size](#ruby---indent-size) -**Key**: `ruby_indent_size` +**Namespace**: `ruby` + +**Key**: `indent_size` **Default**: `4` @@ -3443,9 +6100,21 @@ Indentation size/length (Supported by Rubocop, Ruby Beautify) Indentation size/length (Supported by Rubocop, Ruby Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "ruby": { + "indent_size": 4 + } +} +``` + #### [Ruby - Indent char](#ruby---indent-char) -**Key**: `ruby_indent_char` +**Namespace**: `ruby` + +**Key**: `indent_char` **Default**: ` ` @@ -3459,12 +6128,24 @@ Indentation size/length (Supported by Rubocop, Ruby Beautify) Indentation character (Supported by Ruby Beautify) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "ruby": { + "indent_char": " " + } +} +``` + ### rustfmt #### [Rust - Rustfmt path](#rust---rustfmt-path) -**Key**: `rust_rustfmt_path` +**Namespace**: `rust` + +**Key**: `rustfmt_path` **Type**: `string` @@ -3474,12 +6155,24 @@ Indentation character (Supported by Ruby Beautify) Path to rustfmt program (Supported by rustfmt) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "rust": { + "rustfmt_path": "" + } +} +``` + ### sqlformat #### [SQL - Indent size](#sql---indent-size) -**Key**: `sql_indent_size` +**Namespace**: `sql` + +**Key**: `indent_size` **Default**: `4` @@ -3491,9 +6184,21 @@ Path to rustfmt program (Supported by rustfmt) Indentation size/length (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "indent_size": 4 + } +} +``` + #### [SQL - Keywords](#sql---keywords) -**Key**: `sql_keywords` +**Namespace**: `sql` + +**Key**: `keywords` **Default**: `upper` @@ -3507,9 +6212,21 @@ Indentation size/length (Supported by sqlformat) Change case of keywords (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "keywords": "upper" + } +} +``` + #### [SQL - Identifiers](#sql---identifiers) -**Key**: `sql_identifiers` +**Namespace**: `sql` + +**Key**: `identifiers` **Default**: `lower` @@ -3523,4 +6240,14 @@ Change case of keywords (Supported by sqlformat) Change case of identifiers (Supported by sqlformat) +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "sql": { + "identifiers": "lower" + } +} +``` + diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index 7ecc9b1..3c02eef 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -117,6 +117,11 @@ module.exports = class Beautifiers extends EventEmitter # Init field for supported beautifiers op.beautifiers = [] + # Remember Option's Key + op.key = field + + # Remember Option's Language + op.language = lang # Add option options[field] = op diff --git a/src/config.coffee b/src/config.coffee index 2c3e18a..7144453 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -1,5 +1,6 @@ module.exports = { analytics : + title: 'Anonymous Analytics' type : 'boolean' default : true description : "There is [Segment.io](https://segment.io/) which forwards data to [Google @@ -8,23 +9,28 @@ module.exports = { information, such as source code, is sent. See https://github.com/Glavin001/atom-beautify/issues/47 for more details." _analyticsUserId : + title: 'Analytics User Id' type : 'string' default : "" description : "Unique identifier for this user for tracking usage analytics" _loggerLevel : + title: "Logger Level" type : 'string' default : 'warn' description : 'Set the level for the logger' enum : ['verbose', 'debug', 'info', 'warn', 'error'] beautifyEntireFileOnSave : + title: "Beautify Entire File On Save" type : 'boolean' default : true description : "When beautifying on save, use the entire file, even if there is selected text in the editor" muteUnsupportedLanguageErrors : + title: "Mute Unsupported Language Errors" type : 'boolean' default : false description : "Do not show \"Unsupported Language\" errors when they occur" muteAllErrors : + title: "Mute All Errors" type : 'boolean' default : false description : "Do not show any/all errors when they occur"