We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07be3ed commit 8b9522fCopy full SHA for 8b9522f
src/commands/openItemExternal.ts
@@ -1,6 +1,10 @@
1
import { Item } from 'qiita-js-2';
2
import { commands, Uri } from 'vscode';
3
4
+/**
5
+ * アイテムをブラウザで表示
6
+ * @param resource コマンドから渡される引数
7
+ */
8
export function openItemExternal (resource: { item: Item }) {
9
const { url } = resource.item;
10
commands.executeCommand('vscode.open', Uri.parse(url));
0 commit comments