Skip to content

Commit 6540de4

Browse files
committed
Merge pull request #407 from zhengbli/updateReadme
Add description about auto-formatting in README
2 parents 5d903af + e218942 commit 6540de4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ The below features are available via the keyboard shortcuts shown, or via the Co
6464
|Build | (Win)`^B` or `F7`, (OSX) `⌘B` or `F7` |
6565
|Error list | (via Command Palette) |
6666

67+
The "format on key" feature is on by default, which formats the current line after typing `;`, `}` or `enter`.
68+
To disable it, go to `Preferences` -> `Package Settings` -> `TypeScript` -> `Plugin Settings - User`, and add
69+
`"typescript_auto_format": false` to the json file.
70+
6771
Project System
6872
------
6973
The plugin supports two kinds of projects:

0 commit comments

Comments
 (0)