Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy With PromptNew to Visual Studio Code? Get it now.
Copy With Prompt

Copy With Prompt

sunnyone41

|
6 installs
| (0) | Free
Copy the editor content with your prompt
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy With Prompt

This VS Code extension allows you to enter a prompt in a dedicated text area and quickly copy it together with the current content of the editor. It’s particularly useful when you need to include a custom prompt along with the text in your editor for sharing, logging, or pasting into other applications.

Features

  • Prompt Input Field: Type your desired prompt directly into the extension’s text area.
  • One-Click Copy: Click the copy button or execute the copy command to copy both your custom prompt and the active editor’s content.

Usage

  1. Open the Extension: Launch “Copy With Prompt” from the VS Code sidebar or the Command Palette.
  2. Enter a Prompt: Type your prompt into the extension’s input field.
  3. Select the Active Editor: Make sure you have the file open (and active) in the editor whose content you want to copy.
  4. Copy: Click the copy button or use the copy command. The extension will automatically copy the prompt along with the editor’s content.

Requirements

  • Visual Studio Code version 1.96.0 or later is recommended.

Extension Settings

Currently, this extension does not provide any configurable settings. Future updates may introduce additional customization options.

Known Issues

  • The copy function works best with a single active editor. If you have multiple editor tabs open, ensure the one you want to copy from is active before using the extension.

Release Notes

0.0.1

  • Initial release with prompt input and combined copy functionality.

0.0.2

  • Copy the filename to a quote string
  • Apply the VSCode style

0.0.3

  • Keep the prompt content

0.0.4

  • Add all tabs mode

Thank you for using Copy With Prompt! Please report any issues or feature requests in the extension’s repository. Enjoy streamlining your workflow!

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