| FilePrompt ExtensionA VS Code/Cursor extension that copies selected files and directories as a structured Markdown tree with complete file contents. Perfect for sharing code context with AI assistants, creating documentation, or reporting issues. How to Use
Select multiple files and folders in the VS Code/Cursor explorerRight-click and choose "Copy file tree to clipboard"Get a formatted output that includes:
A visual directory tree structure in MarkdownComplete source code of each file in fenced code blocksFile sizes for easy reference The output is optimized for pasting into: 
AI chat interfaces (ChatGPT, Claude, etc.)GitHub issues and discussionsDocumentation and wikisCode review tools 
  
    
      | Context Menu |  
      |  |  File Tree Structure | Clipboard Content | 
      |  |  |  ConfigurationCustomize the extension behavior in VS Code settings (search for "FilePrompt"): Default Configuration Values
| Setting | Type | Default Value | Description |  
| filePrompt.respectGitignore | boolean | true | Ignore files and folders that match .gitignore patterns |  
| filePrompt.ignoredExtensions | array | [".jpg", ".jpeg", ".png", ".gif", ".bmp", ".svg", ".ico", ".webp", ".tiff", ".tif", ".mp3", ".mp4", ".avi", ".mov", ".wav", ".flac", ".mkv", ".webm", ".m4a", ".ogg", ".zip", ".rar", ".tar", ".gz", ".7z", ".bz2", ".xz", ".exe", ".dll", ".so", ".dylib", ".bin", ".dat", ".db", ".sqlite", ".pdf", ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".ttf", ".otf", ".woff", ".woff2", ".eot", ".lock", ".log", ".tmp", ".temp", ".cache"] | List of file extensions to ignore (include the dot, e.g., '.jpg') |  
| filePrompt.extraIgnoredFiles | array | [] | Additional files and directories to ignore (relative paths from workspace root) |  
| filePrompt.savedStacks | array | [] | Your saved file selection stacks (managed automatically) |  Full Configuration JSON{
  "filePrompt.respectGitignore": {
    "type": "boolean",
    "default": true,
    "description": "Ignore files and folders that match .gitignore patterns"
  },
  "filePrompt.ignoredExtensions": {
    "type": "array",
    "default": [
      ".jpg", ".jpeg", ".png", ".gif", ".bmp", ".svg", ".ico", 
      ".webp", ".tiff", ".tif", ".mp3", ".mp4", ".avi", ".mov", 
      ".wav", ".flac", ".mkv", ".webm", ".m4a", ".ogg", ".zip", 
      ".rar", ".tar", ".gz", ".7z", ".bz2", ".xz", ".exe", 
      ".dll", ".so", ".dylib", ".bin", ".dat", ".db", ".sqlite", 
      ".pdf", ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", 
      ".ttf", ".otf", ".woff", ".woff2", ".eot", ".lock", 
      ".log", ".tmp", ".temp", ".cache"
    ],
    "description": "List of file extensions to ignore (include the dot, e.g., '.jpg')"
  },
  "filePrompt.extraIgnoredFiles": {
    "type": "array",
    "default": [],
    "description": "Additional files and directories to ignore (relative paths from workspace root)"
  },
  "filePrompt.savedStacks": {
    "type": "array",
    "default": [],
    "description": "Named file‑selection stacks saved from FilePrompt history. Each item has the shape { \"name\": string, \"paths\": string[] }."
  }
}
 CommandsThe extension provides these commands: 
Copy file tree to clipboard - The main functionality to copy selected files/folders as a structured Markdown treeFilePrompt: Add current file to ignore list - Quickly add the currently open file to the extraIgnoredFilesconfigurationFilePrompt: Remove current file from ignore list - Remove the currently open file from the ignore listFilePrompt: Show history - View your last 20 copy operations and save/manage file selection stacksFilePrompt: Copy from saved stack - Quick access to your saved file selection stacks To use the "FilePrompt: Add current file to ignore list" command: 
Open any file in VS Code/CursorPress Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux)Type "FilePrompt: Add current file to ignore list" and press EnterThe file will be added to your workspace's filePrompt.extraIgnoredFilessetting InstallationFrom VS Code Marketplace (Recommended)
Open VS Code/CursorGo to Extensions (Ctrl+Shift+X)Search for "FilePrompt"Click Install Manual Installation (Development)Prerequisites
Node.js (version 14 or higher)VS Code or Cursor Setup# Clone the repository
git clone https://github.com/JoaoJanini/create_prompt_from_cursor_explorer_extension.git
cd create_prompt_from_cursor_explorer_extension
# Install dependencies
npm run full-install
 |  |