mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
[typescript-language-features] Add formatter option for semicolons (#80828)
* Add formatter option for semicolons * Add compatibility note * Make it compile without TS 3.7
This commit is contained in:
committed by
Matt Bierner
parent
3890a199a2
commit
8774e0bb05
@@ -264,6 +264,22 @@
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.semicolons": {
|
||||
"type": "string",
|
||||
"default": "ignore",
|
||||
"description": "%format.semicolons%",
|
||||
"scope": "resource",
|
||||
"enum": [
|
||||
"ignore",
|
||||
"insert",
|
||||
"remove"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%format.semicolons.ignore%",
|
||||
"%format.semicolons.insert%",
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"javascript.validate.enable": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -360,6 +376,22 @@
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.semicolons": {
|
||||
"type": "string",
|
||||
"default": "ignore",
|
||||
"description": "%format.semicolons%",
|
||||
"scope": "resource",
|
||||
"enum": [
|
||||
"ignore",
|
||||
"insert",
|
||||
"remove"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%format.semicolons.ignore%",
|
||||
"%format.semicolons.insert%",
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"javascript.implicitProjectConfig.checkJs": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
Reference in New Issue
Block a user