Forked from formate, add two configurations.
NOTE: Just use for my custom project.
Installation
Install through VS Code extensions. Search for formate.
Usage
On Windows:
- CTRL + Shift + P -> Format Document
- CTRL + ALT + F
On Mac:
- CMD + Shift + P -> Format Document
- CMD + ALT + F
Extension Settings
Setting |
Description |
Type |
Default |
formateCustom.enable |
Enables/disables the extension |
boolean |
true |
formateCustom.verticalAlignProperties |
Controls if properties should be aligned vertically |
boolean |
true |
formateCustom.additionalSpaces |
If vertical alignment is on, this setting is to add extra spaces |
boolean |
0 |
formateCustom.includeRootFolders |
Specify which folders need formate. |
array |
[] |
formateCustom.withGroup |
Group with line-warp. |
boolean |
false |
Release Notes
Version |
Notes |
1.0.5 |
完善去掉逗号折行逻辑 |
1.0.4 |
去掉逗号折行逻辑 |
1.0.3 |
update README. |
1.0.2 |
update configuration field. |
1.0.1 |
init |
| |