0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CursorにVSCodeの設定を反映させる

0
Last updated at Posted at 2026-06-24

CursorのエディタにVSCodeの設定、拡張機能を反映したいと思います。
また導入については、下記の記事で紹介しています。

settings.jsonの設定

「CMD + ,」をクリックすると、Cursor Settingsが開きます。
その中にPreferencesの項目にImport Settings from VS Codeがあるので、Importをクリックします。
スクリーンショット 2026-06-24 23.26.50.png

その後、小さなダイアログが表示されるのでconfirmをクリックします。
するとCursor上のsettings.jsonがVSCodeと同じ設定になっているかとおもます。

拡張機能の設定

下記のコマンドで拡張機能のID一覧の.txtファイルを生成します。

code --list-extensions > vscode-extensions.txt

Cursor側に移り、vscode-extensions.txtがあることを確認します。
次にCursorに「vscode-extensions.txtの拡張機能をインストールして」とお願いします、、、(CLIでカッコよくキメたかったのですが、上手くできなかったので、、、)
するとまあ、あっという間にインストールしてくれました、、、👏
最後に不要になったvscode-extensions.txtを削除します。

終わり

以上が、VSCodeの設定を引き継ぐ方法でした。
引き続きCursorにお願いしない方法で拡張機能をインストールする方法を見つけたいなと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?