extensions/references-view/src/references/index.ts/copyPathCommand
async function copyPathCommand(item: FileItem | unknown) {
	if (item instanceof FileItem) {
		if (item.uri.scheme === 'file') {
			vscode.env.clipboard.writeText(item.uri.fsPath);
		} else {
			vscode.env.clipboard.writeText(item.uri.toString(true));
		}
	}
}