Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File ConcatNew to Visual Studio Code? Get it now.
File Concat

File Concat

HMSWORK

|
2 installs
| (0) | Free
複数のファイルやフォルダを1つのテキストに結合し、クリップボードへコピーするVS Code拡張機能
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Concat

複数のファイルやフォルダを1つのテキストに結合し、 クリップボードへコピーする VS Code 拡張機能です。

Features

VS Codeのエクスプローラーからファイルまたはフォルダを右クリックして、 複数のファイルを簡単に1つのテキストへ結合できます。

ファイルを右クリック

単一ファイルを右クリックして結合コマンドを実行できます。

フォルダを右クリック

フォルダを右クリックして、そのフォルダ内のファイルを結合できます。

再帰あり

選択したフォルダ以下のサブフォルダを含め、 対象となるファイルをすべて結合します。

直下のみ

選択したフォルダの直下にあるファイルだけを結合します。

クリップボードへコピー

結合した結果は自動的にクリップボードへコピーされます。

Output Example

===== FILE: src/index.ts =====
console.log("hello");

===== FILE: src/utils/helper.ts =====
export const test = () => {};

Commands

Command Description
ファイルを結合してコピー(再帰あり) サブフォルダを含めて結合
ファイルを結合してコピー(直下のみ) 選択フォルダ直下のみ結合

Configuration

VS Codeの設定から、結合対象から除外する拡張子と 読み込む最大ファイルサイズを設定できます。

fileConcat.excludeExtensions

結合対象から除外するファイル拡張子のリストです。

fileConcat.maxFileSizeKB

読み込む最大ファイルサイズをKB単位で指定します。

Automatically Excluded Directories

以下のディレクトリは結合対象から除外されます。

  • node_modules
  • .git
  • .next
  • dist
  • build
  • coverage

Installation

VS Code Marketplace

VS Codeの拡張機能ビューで「File Concat」を検索してインストールしてください。

VSIX

VSIXファイルからインストールする場合:

  1. VS Codeを開く
  2. 拡張機能ビューを開く
  3. ... メニューを開く
  4. 「VSIXからインストール」を選択
  5. .vsix ファイルを指定

Development

npm install
npm run compile
npm run lint

Packaging

npm install -g @vscode/vsce
vsce package

License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft