Skip to content

Commit

Permalink
Fix #34: Make formatter configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalre committed Jul 10, 2021
1 parent d84f241 commit 86f1cde
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 303 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
## 5.0.0 - July 10, 2021
* (refs [#34](https://github.com/pascalre/vscode-yaml-sort/issues/34)) Make formatter configurable
* Default YAML formatter is disabled by default. Use `vscode-yaml-sort.useAsFormatter` to activate it.

## 4.2.0 - June 17, 2021
* (refs[#30](https://github.com/pascalre/vscode-yaml-sort/issues/30)) Use as formatter
* (refs [#30](https://github.com/pascalre/vscode-yaml-sort/issues/30)) Use as formatter
* Old command `Format YAML` is replaced by built in command `Format document`. Formatting documents is also possible with default formatting shortcut or on document save.

## 4.1.1 - June 16, 2021
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ This extension contributes the following settings:
| `noCompatMode` | if `true` don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1 | `false` |
| `quotingType` | Strings will be quoted using this quoting style. If you specify single quotes, double quotes will still be used for non-printable characters. | `'` |
| `schema` | Schema to use | `DEFAULT_SCHEMA` |
| `useAsFormatter` | When true, will enable default YAML formatter (requires restart). | `false` |
| `useCustomSortRecursively` | When `true`, will use the custom sort keywords recursively on a file, when using custom sort | `false` |
| `useLeadingDashes` | When `true`, sorted YAML files begin with leading dashes | `true` |

Expand Down
Loading

0 comments on commit 86f1cde

Please sign in to comment.