提交 7f0b0e17 编写于 作者: B Benjamin Pasero

label/description

上级 4b8c0ce2
......@@ -192,7 +192,7 @@ export class CommandCenter {
if (/png$/i.test(path)) {
const contents = await repository.buffer(ref, path);
const uri = `data:image/png;base64,${contents.toString('base64')}`;
const uri = Uri.parse(`data:image/png;label:${'Label'};description:${'Description'};base64,${contents.toString('base64')}`); // TODO@JOao
await commands.executeCommand<void>('vscode.open', uri, opts);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册