You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new paste as functionality allows extensions to control how content is pasted. This feature has now been turned on by default. You can trigger it by pasting content into a file, by using the new Paste as... command. If there are multiple ways to paste, the new paste selector UX lets you switch between them
Testing
First test basic pasting. You can use Markdown to test this new feature
Open a Markdown file
Copy a file from VS Code's explorer or from your OS and try pasting it into the editor
The content should paste, but you should also see a widget that lets you select how the content is pasted
Try using the widget to switch between different ways of pasting (you should see: paste as markdown link/image, paste as absolute path, and paste as relative path if the file is part of the current workspace)
Try pasting into multiple cursor locations
Confirm you can turn off this feature using editor.pasteAs.enabled
Now test the new paste as command. This lets you first select how content should be pasted
Also in a markdown file
Copy a file from VS Code's explorer or from your OS
Run Paste as...
Confirm you see a quick input that lets you select how the content is pasted
Try setting up a keybinding for a specific paste as handler:
Test for #174465
Complexity: 4
Create Issue
Summary
The new
paste as
functionality allows extensions to control how content is pasted. This feature has now been turned on by default. You can trigger it by pasting content into a file, by using the newPaste as...
command. If there are multiple ways to paste, the new paste selector UX lets you switch between themTesting
First test basic pasting. You can use Markdown to test this new feature
editor.pasteAs.enabled
Now test the new paste as command. This lets you first select how content should be pasted
Paste as...
Try setting up a keybinding for a specific paste as handler:
paste as...
ui)The text was updated successfully, but these errors were encountered: