LoginSignup
10
6

More than 1 year has passed since last update.

OS別 VSCodeの設定を削除・初期化する方法

Last updated at Posted at 2022-10-16

概要

OS別に Visual Studio Code の設定を削除・初期化(リセット)する方法を記載する

.vscode には拡張機能、 Code には設定プロファイルが格納されている

Linux

ターミナルを開いて以下のコマンドを実行

rm -rf ~/.vscode
rm -rf ~/.config/Code

macOS

ターミナルを開いて以下のコマンドを実行

rm -rf ~/.vscode
rm -rf ~/Library/Application\ Support/Code

Windows

PowerShellを開いて以下のコマンドを実行

Remove-Item -Recurse -Force $env:USERPROFILE\.vscode
Remove-Item -Recurse -Force $env:APPDATA\Code

再同期

設定の同期を有効化していた場合、 F1 キーより、「コマンドパレット」を開き、下記コマンドを入力

Settings Sync: Turn On...

GitHub もしくは Microsoft アカウントにて設定の同期を再度有効化する

SettingsSyncTurnOn.gif

10
6
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
10
6