Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paste as default settings and enable js/ts paste with imports by default #233031

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Nov 4, 2024

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

…default

Fixes microsoft#184871
For microsoft#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
@mjbvz mjbvz added this to the November 2024 milestone Nov 4, 2024
@mjbvz mjbvz self-assigned this Nov 4, 2024
@mjbvz mjbvz enabled auto-merge (squash) November 5, 2024 00:11
@mjbvz mjbvz changed the title Add paste as default settings and enable js/ts paste with imports by default Add paste as default settings and enable js/ts paste with imports by default Nov 5, 2024
@mjbvz mjbvz merged commit 54d81cd into microsoft:main Nov 5, 2024
7 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New PasteAs does not allow to choose default way to paste
2 participants