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

Provide ability for pasting over highlighted Markdown text to turn the text into a link to the pasted URL #179628

Closed
brettcannon opened this issue Apr 10, 2023 · 2 comments · Fixed by #185924
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders markdown Markdown support issues on-testplan
Milestone

Comments

@brettcannon
Copy link
Member

GitHub supports highlighting some text in an issue and then automatically converting the test to a link when pasting over it. I have come to use that feature so much that it surprises me every time in VS Code when that isn't the semantics. I also checked for a setting to turn such semantics on and I could find one either.

@brettcannon brettcannon changed the title Pasting over highlighted Markdown text turns the text to a link to the pasted URL Provide ability for pasting over highlighted Markdown text to turn the text into a link to the pasted URL Apr 10, 2023
@mjbvz mjbvz added feature-request Request for new features or functionality markdown Markdown support issues labels Apr 10, 2023
@lgarron
Copy link

lgarron commented May 9, 2023

I would also love to see this feature.

Since GitHub and certain other apps added support for this functionality, I've gotten very used to using it.1 It's always a bit jarring when I do it in VSCode out of instinct, only to delete some text.

For some people, I think it would also be nice to support ⇧⌘V (or Ctrl-Shift-V) to paste the link directly, like in GitHub:

To paste HTML links as plain text, use cmd/ctrl + shift + v instead.

(I believe I've seen at least one app also add an option to swap ⌘V and ⇧⌘V.)

Footnotes

  1. I use it while composing this very comment!

@vanossj
Copy link

vanossj commented Jun 9, 2023

After seeing the paste as feature in v1.79, I was disappointed to find out it wasn't pasting links over text to create hyperlinked text. We need this feature in VSCode too!

@vscodenpa vscodenpa added the unreleased Patch has not yet been released in VS Code Insiders label Jun 27, 2023
@vscodenpa vscodenpa added this to the June 2023 milestone Jun 27, 2023
@vscodenpa vscodenpa added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jun 27, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders markdown Markdown support issues on-testplan
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants