Rerun docs, make typescript-formatter the default for typescript
This commit is contained in:
parent
152d6967bc
commit
1de54efef4
|
@ -202,7 +202,7 @@ See [all supported options in the documentation at `docs/options.md`](docs/opti
|
||||||
| TSS | `TSS` |`.tss` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
| TSS | `TSS` |`.tss` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
||||||
| TSX | `TypeScriptReact` |`.tsx` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)** |
|
| TSX | `TypeScriptReact` |`.tsx` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)** |
|
||||||
| Twig | `HTML (Twig)` |`.twig` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
| Twig | `HTML (Twig)` |`.twig` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
||||||
| TypeScript | `TypeScript` |`.ts` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)** |
|
| TypeScript | `TypeScript` |`.ts` | **[`Prettier`](https://github.com/prettier/prettier)**, [`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter) |
|
||||||
| UX Markup | `UX` |`.ux` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
| UX Markup | `UX` |`.ux` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
||||||
| Vala | `Vala` |`.vala`, `.vapi` | **[`Uncrustify`](https://github.com/uncrustify/uncrustify)** |
|
| Vala | `Vala` |`.vala`, `.vapi` | **[`Uncrustify`](https://github.com/uncrustify/uncrustify)** |
|
||||||
| Visualforce | `Visualforce` |`.page` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
| Visualforce | `Visualforce` |`.page` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
|
||||||
|
|
468
docs/options.md
468
docs/options.md
|
@ -1077,7 +1077,6 @@ Automatically beautify Clojure files on save
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :white_check_mark: | :x: |
|
| `brace_style` | :white_check_mark: | :x: |
|
||||||
| `bracket_spacing` | :white_check_mark: | :x: |
|
|
||||||
| `break_chained_methods` | :white_check_mark: | :x: |
|
| `break_chained_methods` | :white_check_mark: | :x: |
|
||||||
| `end_of_line` | :white_check_mark: | :x: |
|
| `end_of_line` | :white_check_mark: | :x: |
|
||||||
| `end_with_comma` | :white_check_mark: | :x: |
|
| `end_with_comma` | :white_check_mark: | :x: |
|
||||||
|
@ -1091,6 +1090,7 @@ Automatically beautify Clojure files on save
|
||||||
| `keep_array_indentation` | :white_check_mark: | :x: |
|
| `keep_array_indentation` | :white_check_mark: | :x: |
|
||||||
| `keep_function_indentation` | :white_check_mark: | :x: |
|
| `keep_function_indentation` | :white_check_mark: | :x: |
|
||||||
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
||||||
|
| `object_curly_spacing` | :white_check_mark: | :x: |
|
||||||
| `preserve_newlines` | :white_check_mark: | :x: |
|
| `preserve_newlines` | :white_check_mark: | :x: |
|
||||||
| `space_after_anon_function` | :white_check_mark: | :x: |
|
| `space_after_anon_function` | :white_check_mark: | :x: |
|
||||||
| `space_before_conditional` | :white_check_mark: | :x: |
|
| `space_before_conditional` | :white_check_mark: | :x: |
|
||||||
|
@ -1185,30 +1185,6 @@ Automatically beautify CoffeeScript files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`Coffee Formatter`](#coffee-formatter)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by Coffee Formatter)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -1531,6 +1507,30 @@ Number of line-breaks to be preserved in one chunk (Supported by Coffee Formatte
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Coffee Formatter`](#coffee-formatter)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by Coffee Formatter)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -2544,7 +2544,6 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :white_check_mark: | :x: |
|
| `brace_style` | :white_check_mark: | :x: |
|
||||||
| `bracket_spacing` | :white_check_mark: | :x: |
|
|
||||||
| `break_chained_methods` | :white_check_mark: | :white_check_mark: |
|
| `break_chained_methods` | :white_check_mark: | :white_check_mark: |
|
||||||
| `end_of_line` | :white_check_mark: | :x: |
|
| `end_of_line` | :white_check_mark: | :x: |
|
||||||
| `end_with_comma` | :white_check_mark: | :white_check_mark: |
|
| `end_with_comma` | :white_check_mark: | :white_check_mark: |
|
||||||
|
@ -2561,6 +2560,7 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `keep_array_indentation` | :white_check_mark: | :x: |
|
| `keep_array_indentation` | :white_check_mark: | :x: |
|
||||||
| `keep_function_indentation` | :white_check_mark: | :x: |
|
| `keep_function_indentation` | :white_check_mark: | :x: |
|
||||||
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
||||||
|
| `object_curly_spacing` | :white_check_mark: | :x: |
|
||||||
| `preserve_newlines` | :white_check_mark: | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :white_check_mark: | :x: |
|
| `space_before_conditional` | :white_check_mark: | :x: |
|
||||||
|
@ -2658,30 +2658,6 @@ Automatically beautify EJS files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -3086,6 +3062,30 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `html`
|
**Namespace**: `html`
|
||||||
|
@ -5568,13 +5568,12 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `brace_style` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `bracket_spacing` | :x: | :white_check_mark: | :x: | :white_check_mark: | :x: |
|
|
||||||
| `break_chained_methods` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
| `break_chained_methods` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
||||||
| `end_of_line` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `end_of_line` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `end_with_comma` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
| `end_with_comma` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
||||||
| `end_with_newline` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `end_with_newline` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `eval_code` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `eval_code` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `indent_char` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
| `indent_char` | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: |
|
||||||
| `indent_level` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `indent_level` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `indent_size` | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: |
|
| `indent_size` | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: |
|
||||||
| `indent_with_tabs` | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: |
|
| `indent_with_tabs` | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: |
|
||||||
|
@ -5582,6 +5581,7 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `keep_array_indentation` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `keep_array_indentation` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `keep_function_indentation` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `keep_function_indentation` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
| `max_preserve_newlines` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `max_preserve_newlines` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
|
| `object_curly_spacing` | :x: | :white_check_mark: | :x: | :white_check_mark: | :x: |
|
||||||
| `preserve_newlines` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
| `preserve_newlines` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
| `space_after_anon_function` | :x: | :white_check_mark: | :x: | :x: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
| `space_before_conditional` | :x: | :white_check_mark: | :x: | :x: | :x: |
|
||||||
|
@ -5676,30 +5676,6 @@ Automatically beautify JavaScript files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Prettier`](#prettier)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by JS Beautify, Prettier)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -5834,11 +5810,11 @@ End output with newline (Supported by JS Beautify)
|
||||||
|
|
||||||
**Type**: `string`
|
**Type**: `string`
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Pretty Diff`](#pretty-diff)
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Prettier`](#prettier) [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Indentation character (Supported by JS Beautify, Pretty Diff)
|
Indentation character (Supported by JS Beautify, Prettier, Pretty Diff)
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
@ -6022,6 +5998,30 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Prettier`](#prettier)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by JS Beautify, Prettier)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -6180,7 +6180,6 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :white_check_mark: | :x: | :x: |
|
| `brace_style` | :white_check_mark: | :x: | :x: |
|
||||||
| `bracket_spacing` | :white_check_mark: | :x: | :x: |
|
|
||||||
| `break_chained_methods` | :white_check_mark: | :x: | :white_check_mark: |
|
| `break_chained_methods` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
| `end_of_line` | :white_check_mark: | :x: | :x: |
|
| `end_of_line` | :white_check_mark: | :x: | :x: |
|
||||||
| `end_with_comma` | :white_check_mark: | :x: | :white_check_mark: |
|
| `end_with_comma` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
|
@ -6194,6 +6193,7 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `keep_array_indentation` | :white_check_mark: | :x: | :x: |
|
| `keep_array_indentation` | :white_check_mark: | :x: | :x: |
|
||||||
| `keep_function_indentation` | :white_check_mark: | :x: | :x: |
|
| `keep_function_indentation` | :white_check_mark: | :x: | :x: |
|
||||||
| `max_preserve_newlines` | :white_check_mark: | :x: | :x: |
|
| `max_preserve_newlines` | :white_check_mark: | :x: | :x: |
|
||||||
|
| `object_curly_spacing` | :white_check_mark: | :x: | :x: |
|
||||||
| `preserve_newlines` | :white_check_mark: | :x: | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: | :x: | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :white_check_mark: | :x: | :x: |
|
| `space_before_conditional` | :white_check_mark: | :x: | :x: |
|
||||||
|
@ -6288,30 +6288,6 @@ Automatically beautify JSON files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -6634,6 +6610,30 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -6792,7 +6792,6 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :white_check_mark: | :x: |
|
| `brace_style` | :white_check_mark: | :x: |
|
||||||
| `bracket_spacing` | :white_check_mark: | :x: |
|
|
||||||
| `break_chained_methods` | :white_check_mark: | :white_check_mark: |
|
| `break_chained_methods` | :white_check_mark: | :white_check_mark: |
|
||||||
| `e4x` | :white_check_mark: | :x: |
|
| `e4x` | :white_check_mark: | :x: |
|
||||||
| `end_of_line` | :white_check_mark: | :x: |
|
| `end_of_line` | :white_check_mark: | :x: |
|
||||||
|
@ -6807,6 +6806,7 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `keep_array_indentation` | :white_check_mark: | :x: |
|
| `keep_array_indentation` | :white_check_mark: | :x: |
|
||||||
| `keep_function_indentation` | :white_check_mark: | :x: |
|
| `keep_function_indentation` | :white_check_mark: | :x: |
|
||||||
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
| `max_preserve_newlines` | :white_check_mark: | :x: |
|
||||||
|
| `object_curly_spacing` | :white_check_mark: | :x: |
|
||||||
| `preserve_newlines` | :white_check_mark: | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :white_check_mark: | :x: |
|
| `space_before_conditional` | :white_check_mark: | :x: |
|
||||||
|
@ -6901,30 +6901,6 @@ Automatically beautify JSX files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -7273,6 +7249,30 @@ Number of line-breaks to be preserved in one chunk (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by JS Beautify)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -13120,34 +13120,34 @@ Maximum characters per line (0 disables) (Supported by Pretty Diff)
|
||||||
|
|
||||||
#### [TypeScript](#typescript)
|
#### [TypeScript](#typescript)
|
||||||
|
|
||||||
**Supported Beautifiers**: [`TypeScript Formatter`](#typescript-formatter)
|
**Supported Beautifiers**: [`Prettier`](#prettier) [`TypeScript Formatter`](#typescript-formatter)
|
||||||
|
|
||||||
| Option | TypeScript Formatter |
|
| Option | Prettier | TypeScript Formatter |
|
||||||
| --- | --- |
|
| --- | --- | --- |
|
||||||
| `disabled` | :white_check_mark: |
|
| `disabled` | :white_check_mark: | :white_check_mark: |
|
||||||
| `default_beautifier` | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :white_check_mark: |
|
| `brace_style` | :x: | :white_check_mark: |
|
||||||
| `bracket_spacing` | :white_check_mark: |
|
| `break_chained_methods` | :x: | :white_check_mark: |
|
||||||
| `break_chained_methods` | :white_check_mark: |
|
| `end_of_line` | :x: | :white_check_mark: |
|
||||||
| `end_of_line` | :white_check_mark: |
|
| `end_with_comma` | :x: | :white_check_mark: |
|
||||||
| `end_with_comma` | :white_check_mark: |
|
| `end_with_newline` | :x: | :white_check_mark: |
|
||||||
| `end_with_newline` | :white_check_mark: |
|
| `eval_code` | :x: | :white_check_mark: |
|
||||||
| `eval_code` | :white_check_mark: |
|
| `indent_char` | :x: | :white_check_mark: |
|
||||||
| `indent_char` | :white_check_mark: |
|
| `indent_level` | :x: | :white_check_mark: |
|
||||||
| `indent_level` | :white_check_mark: |
|
| `indent_size` | :x: | :white_check_mark: |
|
||||||
| `indent_size` | :white_check_mark: |
|
| `indent_with_tabs` | :x: | :white_check_mark: |
|
||||||
| `indent_with_tabs` | :white_check_mark: |
|
| `jslint_happy` | :x: | :white_check_mark: |
|
||||||
| `jslint_happy` | :white_check_mark: |
|
| `keep_array_indentation` | :x: | :white_check_mark: |
|
||||||
| `keep_array_indentation` | :white_check_mark: |
|
| `keep_function_indentation` | :x: | :white_check_mark: |
|
||||||
| `keep_function_indentation` | :white_check_mark: |
|
| `max_preserve_newlines` | :x: | :white_check_mark: |
|
||||||
| `max_preserve_newlines` | :white_check_mark: |
|
| `object_curly_spacing` | :x: | :white_check_mark: |
|
||||||
| `preserve_newlines` | :white_check_mark: |
|
| `preserve_newlines` | :x: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: |
|
| `space_after_anon_function` | :x: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :white_check_mark: |
|
| `space_before_conditional` | :x: | :white_check_mark: |
|
||||||
| `space_in_paren` | :white_check_mark: |
|
| `space_in_paren` | :x: | :white_check_mark: |
|
||||||
| `unescape_strings` | :white_check_mark: |
|
| `unescape_strings` | :x: | :white_check_mark: |
|
||||||
| `wrap_line_length` | :white_check_mark: |
|
| `wrap_line_length` | :x: | :white_check_mark: |
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
|
@ -13174,11 +13174,11 @@ Disable TypeScript Beautification
|
||||||
|
|
||||||
**Important**: This option is only configurable from within Atom Beautify's setting panel.
|
**Important**: This option is only configurable from within Atom Beautify's setting panel.
|
||||||
|
|
||||||
**Default**: `TypeScript Formatter`
|
**Default**: `Prettier`
|
||||||
|
|
||||||
**Type**: `string`
|
**Type**: `string`
|
||||||
|
|
||||||
**Enum**: `TypeScript Formatter`
|
**Enum**: `Prettier` `TypeScript Formatter`
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
|
@ -13236,30 +13236,6 @@ Automatically beautify TypeScript files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`TypeScript Formatter`](#typescript-formatter)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by TypeScript Formatter)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -13582,6 +13558,30 @@ Number of line-breaks to be preserved in one chunk (Supported by TypeScript Form
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`TypeScript Formatter`](#typescript-formatter)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by TypeScript Formatter)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -14188,7 +14188,6 @@ Maximum characters per line (0 disables) (Supported by Pretty Diff)
|
||||||
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
| `default_beautifier` | :white_check_mark: | :white_check_mark: |
|
||||||
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
| `beautify_on_save` | :white_check_mark: | :white_check_mark: |
|
||||||
| `brace_style` | :x: | :white_check_mark: |
|
| `brace_style` | :x: | :white_check_mark: |
|
||||||
| `bracket_spacing` | :x: | :white_check_mark: |
|
|
||||||
| `break_chained_methods` | :x: | :white_check_mark: |
|
| `break_chained_methods` | :x: | :white_check_mark: |
|
||||||
| `end_of_line` | :x: | :white_check_mark: |
|
| `end_of_line` | :x: | :white_check_mark: |
|
||||||
| `end_with_comma` | :x: | :white_check_mark: |
|
| `end_with_comma` | :x: | :white_check_mark: |
|
||||||
|
@ -14205,6 +14204,7 @@ Maximum characters per line (0 disables) (Supported by Pretty Diff)
|
||||||
| `keep_array_indentation` | :x: | :white_check_mark: |
|
| `keep_array_indentation` | :x: | :white_check_mark: |
|
||||||
| `keep_function_indentation` | :x: | :white_check_mark: |
|
| `keep_function_indentation` | :x: | :white_check_mark: |
|
||||||
| `max_preserve_newlines` | :x: | :white_check_mark: |
|
| `max_preserve_newlines` | :x: | :white_check_mark: |
|
||||||
|
| `object_curly_spacing` | :x: | :white_check_mark: |
|
||||||
| `preserve_newlines` | :x: | :white_check_mark: |
|
| `preserve_newlines` | :x: | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :x: | :white_check_mark: |
|
| `space_after_anon_function` | :x: | :white_check_mark: |
|
||||||
| `space_before_conditional` | :x: | :white_check_mark: |
|
| `space_before_conditional` | :x: | :white_check_mark: |
|
||||||
|
@ -14302,30 +14302,6 @@ Automatically beautify Vue files on save
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
|
||||||
|
|
||||||
**Namespace**: `js`
|
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
|
||||||
|
|
||||||
**Type**: `boolean`
|
|
||||||
|
|
||||||
**Supported Beautifiers**: [`Vue Beautifier`](#vue-beautifier)
|
|
||||||
|
|
||||||
**Description**:
|
|
||||||
|
|
||||||
Insert spaces between brackets in object literals (Supported by Vue Beautifier)
|
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"js": {
|
|
||||||
"bracket_spacing": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
##### [Break chained methods](#break-chained-methods)
|
##### [Break chained methods](#break-chained-methods)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -14730,6 +14706,30 @@ Number of line-breaks to be preserved in one chunk (Supported by Vue Beautifier)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Vue Beautifier`](#vue-beautifier)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Insert spaces between brackets in object literals (Supported by Vue Beautifier)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"object_curly_spacing": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Preserve newlines](#preserve-newlines)
|
##### [Preserve newlines](#preserve-newlines)
|
||||||
|
|
||||||
**Namespace**: `html`
|
**Namespace**: `html`
|
||||||
|
@ -16357,11 +16357,11 @@ Override EOL from line-ending-selector (Supported by Coffee Formatter)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
@ -16376,7 +16376,7 @@ Insert spaces between brackets in object literals (Supported by Coffee Formatter
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"js": {
|
"js": {
|
||||||
"bracket_spacing": false
|
"object_curly_spacing": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -17069,11 +17069,11 @@ Override EOL from line-ending-selector (Supported by JS Beautify)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
@ -17088,7 +17088,7 @@ Insert spaces between brackets in object literals (Supported by JS Beautify)
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"js": {
|
"js": {
|
||||||
"bracket_spacing": false
|
"object_curly_spacing": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -18428,6 +18428,32 @@ Indentation size/length (Supported by JS Beautify, Prettier, Pretty Diff)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Indent char](#indent-char)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `indent_char`
|
||||||
|
|
||||||
|
**Default**: ` `
|
||||||
|
|
||||||
|
**Type**: `string`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Prettier`](#prettier) [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Indentation character (Supported by JS Beautify, Prettier, Pretty Diff)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"indent_char": " "
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Indent with tabs](#indent-with-tabs)
|
##### [Indent with tabs](#indent-with-tabs)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -18452,11 +18478,11 @@ Indentation uses tabs, overrides `Indent Size` and `Indent Char` (Supported by J
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
@ -18471,7 +18497,7 @@ Insert spaces between brackets in object literals (Supported by JS Beautify, Pre
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"js": {
|
"js": {
|
||||||
"bracket_spacing": false
|
"object_curly_spacing": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -19600,11 +19626,11 @@ Override EOL from line-ending-selector (Supported by TypeScript Formatter)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
@ -19619,7 +19645,7 @@ Insert spaces between brackets in object literals (Supported by TypeScript Forma
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"js": {
|
"js": {
|
||||||
"bracket_spacing": false
|
"object_curly_spacing": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -20154,11 +20180,11 @@ Override EOL from line-ending-selector (Supported by Vue Beautifier)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
##### [Bracket spacing](#bracket-spacing)
|
##### [Object curly spacing](#object-curly-spacing)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
||||||
**Key**: `bracket_spacing`
|
**Key**: `object_curly_spacing`
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
@ -20173,7 +20199,7 @@ Insert spaces between brackets in object literals (Supported by Vue Beautifier)
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"js": {
|
"js": {
|
||||||
"bracket_spacing": false
|
"object_curly_spacing": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -18,4 +18,6 @@ module.exports = {
|
||||||
"ts"
|
"ts"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
defaultBeautifier: "TypeScript Formatter"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -642,15 +642,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by Coffee Formatter)",
|
"description": "Insert spaces between brackets in object literals (Supported by Coffee Formatter)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"Coffee Formatter"
|
"Coffee Formatter"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -1579,15 +1579,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"JS Beautify"
|
"JS Beautify"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -3199,10 +3199,11 @@
|
||||||
"indent_char": {
|
"indent_char": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": null,
|
"default": null,
|
||||||
"description": "Indentation character (Supported by JS Beautify, Pretty Diff)",
|
"description": "Indentation character (Supported by JS Beautify, Prettier, Pretty Diff)",
|
||||||
"title": "Indent char",
|
"title": "Indent char",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"JS Beautify",
|
"JS Beautify",
|
||||||
|
"Prettier",
|
||||||
"Pretty Diff"
|
"Pretty Diff"
|
||||||
],
|
],
|
||||||
"key": "indent_char",
|
"key": "indent_char",
|
||||||
|
@ -3483,16 +3484,16 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify, Prettier)",
|
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify, Prettier)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"JS Beautify",
|
"JS Beautify",
|
||||||
"Prettier"
|
"Prettier"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -3847,15 +3848,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"JS Beautify"
|
"JS Beautify"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -4225,15 +4226,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
"description": "Insert spaces between brackets in object literals (Supported by JS Beautify)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"JS Beautify"
|
"JS Beautify"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -7665,6 +7666,7 @@
|
||||||
"description": "Options for language TypeScript",
|
"description": "Options for language TypeScript",
|
||||||
"collapsed": true,
|
"collapsed": true,
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
|
"Prettier",
|
||||||
"TypeScript Formatter"
|
"TypeScript Formatter"
|
||||||
],
|
],
|
||||||
"grammars": [
|
"grammars": [
|
||||||
|
@ -7967,15 +7969,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by TypeScript Formatter)",
|
"description": "Insert spaces between brackets in object literals (Supported by TypeScript Formatter)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"TypeScript Formatter"
|
"TypeScript Formatter"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
@ -7992,9 +7994,10 @@
|
||||||
"title": "Default Beautifier",
|
"title": "Default Beautifier",
|
||||||
"order": -2,
|
"order": -2,
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "TypeScript Formatter",
|
"default": "Prettier",
|
||||||
"description": "Default Beautifier to be used for TypeScript",
|
"description": "Default Beautifier to be used for TypeScript",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
"Prettier",
|
||||||
"TypeScript Formatter"
|
"TypeScript Formatter"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -8470,15 +8473,15 @@
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bracket_spacing": {
|
"object_curly_spacing": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Insert spaces between brackets in object literals (Supported by Vue Beautifier)",
|
"description": "Insert spaces between brackets in object literals (Supported by Vue Beautifier)",
|
||||||
"title": "Bracket spacing",
|
"title": "Object curly spacing",
|
||||||
"beautifiers": [
|
"beautifiers": [
|
||||||
"Vue Beautifier"
|
"Vue Beautifier"
|
||||||
],
|
],
|
||||||
"key": "bracket_spacing",
|
"key": "object_curly_spacing",
|
||||||
"language": {
|
"language": {
|
||||||
"name": "JavaScript",
|
"name": "JavaScript",
|
||||||
"namespace": "js"
|
"namespace": "js"
|
||||||
|
|
Loading…
Reference in New Issue