We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0405bdb commit 76a0458Copy full SHA for 76a0458
1 file changed
scripts/migrate/vscode-to-cursor.sh
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env zsh
2
+set -euo pipefail
3
+
4
+echo "「VSCode → Cursor」の移行を開始しました"
5
6
+# VSCodeの拡張機能を出力
7
+code --list-extensions > ~/dotfiles/vscode/extensions.txt
8
9
+# vscode/extensions.txtを1行ずつ読み込んでCursorにインストール
10
+while IFS= read -r extension; do
11
+ # 空行・コメント行はスキップ
12
+ [[ -z "$extension" || "${extension:0:1}" == "#" ]] && continue
13
14
+ # Cursorにインストール
15
+ cursor --install-extension "$extension"
16
+done < ~/dotfiles/vscode/extensions.txt
17
18
+echo "「VSCode → Cursor」の移行が完了しました"
0 commit comments