Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
feat: add copy to clipboard message
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Mar 10, 2020
1 parent 1967ae3 commit 4dd4b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ Executable ${this.denoInfo.executablePath}`;

this.registerCommand("_copy_text", async (text: string) => {
await env.clipboard.writeText(text);
await window.showInformationMessage(`Copied to clipboard.`);
});

this.registerQuickFix({
Expand Down

0 comments on commit 4dd4b8d

Please sign in to comment.