0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VSCodeのワークスペース機能:フォルダの開き方・追加・削除方法

0
Posted at

はじめに

VSCodeのワークスペース機能を使うと、複数のフォルダを1つのプロジェクトとして管理できます。本記事では、フォルダから開く方法、フォルダの追加・削除方法を説明します。

手順

ワークスペースを開く

方法1. メニューから開く

image.png

FileOpen Folder... を選択します。

方法2. コマンドパレットから開く

image.png

コマンドパレットで File: Open Folder... を実行します。

方法3. エクスプローラーから開く

image.png

ウェルカム画面の Open Folder をクリックします。

フォルダをワークスペースに追加する

方法1. メニューから追加

image.png

FileAdd Folder to Workspace... を選択します。

方法2. サイドバーから追加

image.png

エクスプローラーサイドバーの Add Folder to Workspace... ボタンをクリックします。

方法3. コマンドパレットから追加

image.png

コマンドパレットで Workspaces: Add Folder to Workspace... を実行します。

方法4. ドラッグ&ドロップで追加

エクスプローラー(OS)からフォルダをVSCodeのサイドバーにドラッグ&ドロップします。

フォルダをワークスペースから削除する

方法1. 右クリックメニューから削除

image.png

サイドバーでフォルダを右クリックし、Remove Folder from Workspace を選択します。

方法2. コマンドパレットから削除

image.png

コマンドパレットで Workspaces: Remove Folder from Workspace... を実行します。

環境

Version: 1.107.0 (user setup)
Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
Date: 2025-12-10T07:43:47.883Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

参考

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?