Repository navigation
turning highlighted Markdown text to link to pasted URL - #185924
Matt Bierner (mjbvz) merged 9 commits into
Conversation
Matt Bierner (mjbvz)
left a comment
There was a problem hiding this comment.
Added a few more suggestions
Matt Bierner (mjbvz)
left a comment
There was a problem hiding this comment.
Added a few more points of feedback. The most important one is that to make sure we aren't going to change the existing file/uri-list paste flow
| const snippetEdits = coalesce(activeEditor.selections.map((selection, i): vscode.SnippetTextEdit | undefined => { | ||
| const selectionText = activeEditor.document.getText(selection); | ||
| const snippet = createUriListSnippet(activeEditor.document, selectedFiles, { | ||
| const snippet = createUriListSnippet(activeEditor.document, selectedFiles, title, placeholderValue, { |
There was a problem hiding this comment.
What's the difference between these new arguments and the existing placeholderText / placeholderStartIndex values passed in below?
There was a problem hiding this comment.
I did not want to change to existing functionality of insertResource.ts, so I wanted to keep placeholderText and placeholderString as they are. I made an edit in shared.ts that will hopefully make more sense.
Matt Bierner (mjbvz)
left a comment
There was a problem hiding this comment.
Thanks for making the changes!
Approving so we can test this tomorrow. Please make sure to follow up on any remaining comments
Providing ability for pasting over highlighted Markdown text to turn the text into a link to the pasted URL
Fixes #179628