upd docs for PrettyDiff's bracepadding option
This commit is contained in:
parent
b1d023a6fe
commit
32a6fce1a6
115
docs/options.md
115
docs/options.md
|
@ -2088,6 +2088,7 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `indent_with_tabs` | :white_check_mark: |
|
| `indent_with_tabs` | :white_check_mark: |
|
||||||
| `preserve_newlines` | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: |
|
||||||
|
| `space_in_paren` | :white_check_mark: |
|
||||||
| `wrap_line_length` | :white_check_mark: |
|
| `wrap_line_length` | :white_check_mark: |
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
@ -2323,6 +2324,30 @@ Add a space before an anonymous function's parens, ie. function () (Supported by
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Space in paren](#space-in-paren)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `space_in_paren`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Add padding spaces within paren, ie. f( a, b ) (Supported by Pretty Diff)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"space_in_paren": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Wrap line length](#wrap-line-length)
|
##### [Wrap line length](#wrap-line-length)
|
||||||
|
|
||||||
**Namespace**: `html`
|
**Namespace**: `html`
|
||||||
|
@ -4276,7 +4301,7 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
||||||
| `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: |
|
||||||
| `space_in_paren` | :white_check_mark: | :x: | :x: |
|
| `space_in_paren` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
| `unescape_strings` | :white_check_mark: | :x: | :x: |
|
| `unescape_strings` | :white_check_mark: | :x: | :x: |
|
||||||
| `wrap_line_length` | :white_check_mark: | :x: | :white_check_mark: |
|
| `wrap_line_length` | :white_check_mark: | :x: | :white_check_mark: |
|
||||||
|
|
||||||
|
@ -4745,11 +4770,11 @@ Add a space before an anonymous function's parens, ie. function () (Supported by
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify)
|
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify, Pretty Diff)
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
@ -4834,7 +4859,7 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `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: |
|
||||||
| `space_in_paren` | :white_check_mark: | :x: |
|
| `space_in_paren` | :white_check_mark: | :white_check_mark: |
|
||||||
| `unescape_strings` | :white_check_mark: | :x: |
|
| `unescape_strings` | :white_check_mark: | :x: |
|
||||||
| `wrap_line_length` | :white_check_mark: | :white_check_mark: |
|
| `wrap_line_length` | :white_check_mark: | :white_check_mark: |
|
||||||
|
|
||||||
|
@ -5303,11 +5328,11 @@ Add a space before an anonymous function's parens, ie. function () (Supported by
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify)
|
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify, Pretty Diff)
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
@ -5383,6 +5408,7 @@ Wrap lines at next opportunity after N characters (Supported by JS Beautify, Pre
|
||||||
| `indent_with_tabs` | :white_check_mark: |
|
| `indent_with_tabs` | :white_check_mark: |
|
||||||
| `preserve_newlines` | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: |
|
||||||
|
| `space_in_paren` | :white_check_mark: |
|
||||||
| `wrap_line_length` | :white_check_mark: |
|
| `wrap_line_length` | :white_check_mark: |
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
@ -5618,6 +5644,30 @@ Add a space before an anonymous function's parens, ie. function () (Supported by
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Space in paren](#space-in-paren)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `space_in_paren`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Add padding spaces within paren, ie. f( a, b ) (Supported by Pretty Diff)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"space_in_paren": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Wrap line length](#wrap-line-length)
|
##### [Wrap line length](#wrap-line-length)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
@ -10491,6 +10541,7 @@ Maximum amount of characters per line (0 = disable) (Supported by Pretty Diff)
|
||||||
| `indent_with_tabs` | :white_check_mark: |
|
| `indent_with_tabs` | :white_check_mark: |
|
||||||
| `preserve_newlines` | :white_check_mark: |
|
| `preserve_newlines` | :white_check_mark: |
|
||||||
| `space_after_anon_function` | :white_check_mark: |
|
| `space_after_anon_function` | :white_check_mark: |
|
||||||
|
| `space_in_paren` | :white_check_mark: |
|
||||||
| `wrap_line_length` | :white_check_mark: |
|
| `wrap_line_length` | :white_check_mark: |
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
@ -10726,6 +10777,30 @@ Add a space before an anonymous function's parens, ie. function () (Supported by
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Space in paren](#space-in-paren)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `space_in_paren`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Add padding spaces within paren, ie. f( a, b ) (Supported by Pretty Diff)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"space_in_paren": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Wrap line length](#wrap-line-length)
|
##### [Wrap line length](#wrap-line-length)
|
||||||
|
|
||||||
**Namespace**: `html`
|
**Namespace**: `html`
|
||||||
|
@ -14116,11 +14191,11 @@ Indentation uses tabs, overrides `Indent Size` and `Indent Char` (Supported by J
|
||||||
|
|
||||||
**Type**: `boolean`
|
**Type**: `boolean`
|
||||||
|
|
||||||
**Supported Beautifiers**: [`JS Beautify`](#js-beautify)
|
**Supported Beautifiers**: [`JS Beautify`](#js-beautify) [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
**Description**:
|
**Description**:
|
||||||
|
|
||||||
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify)
|
Add padding spaces within paren, ie. f( a, b ) (Supported by JS Beautify, Pretty Diff)
|
||||||
|
|
||||||
**Example `.jsbeautifyrc` Configuration**
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
@ -15438,6 +15513,30 @@ Indentation uses tabs, overrides `Indent Size` and `Indent Char` (Supported by P
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### [Space in paren](#space-in-paren)
|
||||||
|
|
||||||
|
**Namespace**: `js`
|
||||||
|
|
||||||
|
**Key**: `space_in_paren`
|
||||||
|
|
||||||
|
**Type**: `boolean`
|
||||||
|
|
||||||
|
**Supported Beautifiers**: [`Pretty Diff`](#pretty-diff)
|
||||||
|
|
||||||
|
**Description**:
|
||||||
|
|
||||||
|
Add padding spaces within paren, ie. f( a, b ) (Supported by Pretty Diff)
|
||||||
|
|
||||||
|
**Example `.jsbeautifyrc` Configuration**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"js": {
|
||||||
|
"space_in_paren": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### [Space after anon function](#space-after-anon-function)
|
##### [Space after anon function](#space-after-anon-function)
|
||||||
|
|
||||||
**Namespace**: `js`
|
**Namespace**: `js`
|
||||||
|
|
Loading…
Reference in New Issue