src/vs/editor/contrib/inlayHints/browser/inlayHints.ts/asCommandLink
export function asCommandLink(command: Command): string {
	return URI.from({
		scheme: Schemas.command,
		path: command.id,
		query: command.arguments && encodeURIComponent(JSON.stringify(command.arguments))
	}).toString();
}