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

Support escape on paste (semantic paste) #20771

Closed
brandonJY opened this issue Feb 17, 2017 · 3 comments
Closed

Support escape on paste (semantic paste) #20771

brandonJY opened this issue Feb 17, 2017 · 3 comments
Labels
api editor-clipboard Editor clipboard issues feature-request Request for new features or functionality
Milestone

Comments

@brandonJY
Copy link

Nice done for format on paste (#13945). Wondering if it is possible to add feature to escape characters on paste.
E.g. If paste string "foo" bar into javascript var str="[paste here]";
we would want the paste string to auto convert to something like \"foo\" bar

@alexdima alexdima added the feature-request Request for new features or functionality label Feb 28, 2017
@alexdima alexdima changed the title Support escape on paste Support escape on paste (semantic paste) Feb 28, 2017
@alexdima alexdima added the api label Feb 28, 2017
@alexdima alexdima added this to the Backlog milestone Feb 28, 2017
@alexdima alexdima removed their assignment Feb 28, 2017
@rebornix rebornix added the editor-clipboard Editor clipboard issues label Jun 7, 2017
@gwicksted
Copy link

Please include TypeScript/ES6 template literal support (the backtick) where newlines are left as-is and special support for escaping ${}.

@alexdima
Copy link
Member

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.

If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.

@gwicksted
Copy link

I have written an extension to address this issue. Available on the marketplace or search within vscode via ctrl+shift+x type Semantic Paste -- it's currently the top result.

To paste with the semantic escaping turned on, use ctrl+shift+v.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api editor-clipboard Editor clipboard issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants