Skip to content

Do not paste URL as formatted when pasting inside a word #186289

Closed
@isidorn

Description

@isidorn

Testing #186236

Imagine that I am a user that is unaware of the cool new feature that we have. I just wrote the following
[Microsoft](*), and the cursor is at the * location and I now want to paste https://microsoft.com. What I will get is
[Microsoft]([Title](https://www.microsoft.com/))

Can we be a bit smarter to handle this case? Some heuristics we could potentially apply:

  • Do not format URL on paste if you are in the middle of a word
  • Do not format URL if you are inside a link

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugmarkdownMarkdown support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions