extensions/github/src/commands.ts/copyVscodeDevLink
async function copyVscodeDevLink(gitAPI: GitAPI, useSelection: boolean) {
	try {
		const permalink = getLink(gitAPI, useSelection, getVscodeDevHost());
		if (permalink) {
			return vscode.env.clipboard.writeText(permalink);
		}
	} catch (err) {
		vscode.window.showErrorMessage(err.message);
	}
}