Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy-for-gptNew to Visual Studio Code? Get it now.
copy-for-gpt

copy-for-gpt

withSeismic

|
64 installs
| (0) | Free
Right-click copy a file and all its dependencies, ready to paste into your favourite LLM.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Heistkit VSCode Extension

Overview

Heistkit is the VSCode extension for lazy developers. Right-click a JS, TS, JSX, or TSX file in your Explorer to generate a Markdown file with all code, plus its dependencies. Perfect for dumping into GPT for quick context or sharing code snippets with colleagues.

Features

  • One-Click Markdown Export: Simply right-click any TS, TSX, JS, or JSX file in VS Code's Explorer to generate a Markdown file.
  • Dependency Packaging: Includes all relevant dependencies, making it easy to provide context to GPT.
  • Alias and Module Support: Supports both ES and CommonJS modules and handles alias imports.
  • Node Modules Exclusion: Automatically excludes node_modules to keep your output clean and relevant.

Installation

To install Heistkit, follow these steps:

  1. Open VS Code and navigate to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing Ctrl+Shift+X.
  2. Search for "Heistkit" in the Extensions view search bar.
  3. Click the Install button next to the Heistkit extension.

Usage

  1. Right-Click Export: Right-click any TS, TSX, JS, or JSX file in VS Code's Explorer.
  2. Generate Markdown: Select "Generate Markdown for GPT" from the context menu.
  3. View Output: The file along with all its dependencies will be neatly packaged as Markdown for you to dump into GPT.

Example Output

# your-file.ts
import { anotherFunction } from 'helpers/another-function.ts'
const YourFile .....

# helpers/another-function.ts
import { yetAnotherFunction } from '@/utils/yet-another-function.ts'
const anotherFunction = () => ....

# <root>/utils/yet-another-function.ts
const yetAnotherFunction ...

Contact

For any questions or feedback, please reach out to me at twitter.com/dougiesilkstone

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft