mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
@@ -81,7 +81,7 @@ export function createUriListSnippet(document: vscode.TextDocument, uris: readon
|
||||
const snippet = new vscode.SnippetString();
|
||||
uris.forEach((uri, i) => {
|
||||
const mdPath = dir && dir.scheme === uri.scheme && dir.authority === uri.authority
|
||||
? encodeURI(path.relative(dir.fsPath, uri.fsPath).replace(/\\/g, '/'))
|
||||
? encodeURI(path.posix.relative(dir.path, uri.path))
|
||||
: uri.toString(false);
|
||||
|
||||
const ext = URI.Utils.extname(uri).toLowerCase().replace('.', '');
|
||||
|
||||
Reference in New Issue
Block a user