Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Project to TXT (EN)New to Visual Studio Code? Get it now.
Copy Project to TXT (EN)

Copy Project to TXT (EN)

Yalkee

|
1 install
| (1) | Free
Copies all project files into one text file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Project to TXT

VS Code extension that collects all your project files into a single text file.

VS Code Marketplace Version Installs License

Features

  • 📋 Collect all project files into a single text file
  • ⚙️ Flexible configuration - choose which extensions to include
  • 🎯 Smart ignoring - excludes binary files, node_modules, etc.
  • 🌍 Support for 30+ programming languages
  • 📁 Preserves project structure with clean headers

Installation

  1. Open VS Code
  2. Press Ctrl+Shift+X to open extensions
  3. Search for "Copy Project to TXT"
  4. Click "Install"

Or install from the command line:

code --install-extension Yalkee.copy-project-to-txt

Usage

  1. Open your project in VS Code
  2. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  3. Enter the command Copy Project to TXT: Scan Project
  4. The file project_export.txt will appear in your project root

Configuration

After the first run, a settings.json file is created in your project root:

{
"extensions": {
    ".js": true,
    ".ts": true,
    ".py": true,
    ".txt": false,
    "...": "... etc"
},
"ignorePatterns": ["node_modules", "dist", "build"],
"ignoreFiles": ["package-lock.json", ".DS_Store"],
"ignoreExtensions": [".png", ".jpg", ".mp3"]
}

Settings Parameters

  • extensions - file extensions: true = include, false = exclude
  • ignorePatterns - folders to ignore
  • ignoreFiles - specific files to ignore
  • ignoreExtensions - extensions to ignore

Commands

  • Copy Project to TXT: Scan Project - starts collecting all files
  • Copy Project to TXT: Open Settings - opens the settings file

Supported Extensions

JavaScript (.js, .jsx), TypeScript (.ts, .tsx), Python (.py), Java (.java), C++ (.cpp, .h), C# (.cs), PHP (.php), Ruby (.rb), Go (.go), Rust (.rs), HTML (.html), CSS (.css, .scss), JSON (.json), XML (.xml), Markdown (.md), SQL (.sql), YAML (.yml, .yaml), Shell (.sh, .bash), Batch (.bat, .cmd), Gradle (.gradle), Vue (.vue), Svelte (.svelte) and more.

Versions

v0.1.0 : Original Version

× Basic project scanning functionality
× Collect files into a single text file
× Header format "--- File: [name] ---"
× Simple ignore system using regular expressions

v1.0.0 : Major Update

× Completely redesigned settings system (settings.json with boolean values)
× New header format "######### File: [name] #########"
× Fixed extra spacing and line breaks
× Added "Open Settings" command for quick access
× Simplified ignore system (folders, files, extensions)
× Support for 30+ popular extensions
× Automatic settings file creation on first run
× Improved performance and code optimization
× Updated command interface

× v1.0.1 : light minor
    ↪︎ README.md improvements

× v1.0.2 : light minor
    ↪︎ README.md improvements x2
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft