This VSCode extension generates a snapshot of your project's directory structure and file content, useful for documentation, debugging, and reporting.
Getting Started
Prerequisites
Visual Studio Code (version 1.93.0 or higher)
Installing
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
Search for "Project Snapshot Generator".
Click the "Install" button.
Usage
This extension provides three commands:
Generate Snapshot Once: Generates a snapshot of your project's current state. The snapshot is saved as a text file named "snapshot.txt" in the root directory of your workspace.
Start Watching: Starts watching for file changes in your workspace. The snapshot is updated automatically whenever you add, modify, or remove files.
Stop Watching: Stops watching for file changes.
You can access these commands through the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) or by right-clicking in the explorer pane and selecting the "Generate Project Snapshot" option.
Features
Ignores .git and node_modules directories: Prevents unnecessary clutter in the snapshot.
Omits content for binary, secret, and large files: Protects sensitive information and keeps the snapshot concise.
Provides options for customization: Allows you to specify the output file name, ignored directories, and file size limit.