mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
Add paste as default settings and enable js/ts paste with imports by default (#233031)
Fixes #184871 For #30066 Adds new settings that let you configure the default way to paste/drop. Also enables js/ts paste with imports by default for 5.7+. However will not apply by default. Instead it will be shown as an option after pasting. You can then use the `editor.pasteAs.preferences` setting to make it apply automatically or use the `javascript.updateImportsOnPaste.enabled` settings to disable the feature entirely
This commit is contained in:
@@ -1506,23 +1506,17 @@
|
||||
"description": "%typescript.tsserver.enableRegionDiagnostics%",
|
||||
"scope": "window"
|
||||
},
|
||||
"javascript.experimental.updateImportsOnPaste": {
|
||||
"javascript.updateImportsOnPaste.enabled": {
|
||||
"scope": "window",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.updateImportsOnPaste%",
|
||||
"tags": [
|
||||
"experimental"
|
||||
]
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.updateImportsOnPaste%"
|
||||
},
|
||||
"typescript.experimental.updateImportsOnPaste": {
|
||||
"typescript.updateImportsOnPaste.enabled": {
|
||||
"scope": "window",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.updateImportsOnPaste%",
|
||||
"tags": [
|
||||
"experimental"
|
||||
]
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.updateImportsOnPaste%"
|
||||
},
|
||||
"typescript.experimental.expandableHover": {
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user