Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Capi CopyNew to Visual Studio Code? Get it now.
Capi Copy

Capi Copy

elenintech

|
2 installs
| (0) | Free
Instantly copy file path + source code in an AI-optimized XML-Hybrid format.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Capi Copy for VS Code 🤖

⚡ Quick Summary

  • ✨ Smart Copy: Instantly copy file path + source code in an AI-optimized XML-Hybrid format.
  • ✨ Token Efficiency: Auto-compresses unnecessary whitespaces and newlines to save LLM tokens.
  • ✨ Action: Ctrl/Cmd + Shift + Alt + Q (Double-press within 0.5s to copy all open files).
  • ✨ Support: Full Windows & macOS support with automatic path normalization (backslash \ to slash /).

⚡ 핵심 요약

  • ✨ Smart Copy: 파일 경로, 메타데이터, 소스 코드를 AI 프롬프트용 V3.2 XML-Hybrid 형식으로 즉시 복사
  • ✨ Token Efficiency: 불필요한 공백과 개행을 자동 압축하여 LLM 토큰 낭비 방지
  • ✨ Action: Ctrl/Cmd + Shift + Alt + Q (0.5초 이내 두 번 누르면 열린 파일 전체 복사)
  • ✨ Support: Windows & macOS 완벽 지원 (AI가 인식하기 쉬운 경로 슬래시 자동 변환)

Capi Copy는 Visual Studio Code에서 사용 가능한 확장 프로그램으로, 현재 열려 있는 파일의 컨텍스트(경로, 내용, 선택 영역 등)를 ChatGPT, Claude, Gemini와 같은 LLM이 가장 완벽하게 이해할 수 있는 구조화된 포맷으로 복사해 줍니다.

Capi Copy helps you copy the current file context—or all open files—to the clipboard in an advanced, GPT-friendly XML structure.

✨ LLM의 파싱 정확도를 극대화하는 V3.2 XML-Hybrid 스키마 적용
✨ Maximize AI parsing accuracy with the new V3.2 XML-Hybrid Schema.


☕ 후원하기 / Support This Plugin

Buy Me a Coffee

이 플러그인이 코딩 생산성 향상에 도움이 되셨다면 커피 한 잔으로 응원해 주세요 😊
If this extension boosts your productivity, please support me with a cup of coffee!


🇰🇷 주요 기능 (Korean)

🧩 완벽한 AI 컨텍스트 전달

기존의 단순 마크다운을 넘어, AI가 메타데이터와 코드 본문을 명확히 구분할 수 있도록 XML 태그를 결합했습니다.

  • 📄 V3.2 XML-Hybrid 파일 복사

    • 파일의 상태(Active/Background), 복사된 줄 범위(Range) 등 인텔리전트 메타데이터를 함께 제공합니다.
    • 예시 출력 포맷:
      <repository_context>
      <file_context>
        <metadata>
          <path>src/app.ts</path>
          <language>typescript</language>
          <range>Full</range>
          <status>Active</status>
        </metadata>
        <content>
      '''typescript
      console.log("Hello, AI!");
      '''
        </content>
      </file_context>
      </repository_context>
      
  • 🔋 선택 영역 지능형 복사 (Selection-Aware)

    • 코드의 일부만 드래그한 상태로 단축키를 누르면, 해당 부분만 추출되며 메타데이터에 <range>10-15</range>와 같이 줄 번호가 기록됩니다.
  • 📂 다중 파일 압축 복사 (Double Click)

    • Ctrl + Shift + Alt + Q 단축키를 0.5초 이내에 두 번 연속 누르면, 현재 열려있는 모든 에디터 탭의 코드를 하나의 XML 컨텍스트로 병합하여 복사합니다.
  • ⚡ 토큰 다이어트 (Token Optimization)

    • 불필요한 연속 개행(3줄 이상)과 공백만 있는 줄을 자동으로 1줄로 압축하여 한 번의 질문에 더 많은 코드를 욱여넣을 수 있게 해줍니다.

🇺🇸 Key Features (English)

🧩 Perfect AI Context Delivery

Goes beyond simple Markdown. Capi Copy wraps your code and metadata in an XML-Hybrid structure so AI models parse it perfectly.

  • 📄 V3.2 XML-Hybrid Schema
    • Automatically injects intelligent metadata such as file status (Active/Background) and line ranges.
  • 🔋 Smart Selection Copy
    • If you highlight specific lines, only that block is copied, and the line numbers are appended to the metadata (e.g., <range>10-15</range>).
  • 📂 Bulk Context Copy (Double Click)
    • Double-press the shortcut within 0.5 seconds to instantly merge and copy all open editors into a single structured prompt.
  • ⚡ Token Optimization
    • Automatically strips consecutive empty lines and redundant whitespaces, saving precious LLM tokens.

⌨️ 단축키 및 설정 / Shortcuts & Settings

  • 기본 단축키 / Default Shortcut
    • Windows/Linux: Ctrl + Shift + Alt + Q
    • macOS: Cmd + Shift + Option + Q
  • 설정 / Configuration
    • VS Code 설정(Ctrl+,)에서 Capi Copy를 검색하여 기본 복사 동작을 변경할 수 있습니다.
      • selection_or_all (기본값): 선택 영역이 있으면 선택 영역만, 없으면 전체 복사
      • path_and_content: 항상 파일 전체 복사
      • all_open_files: 항상 열려있는 모든 파일 복사

📜 라이센스 / License

이 확장 프로그램은 MIT 라이선스 하에 배포됩니다.
This extension is licensed under the MIT License.


📬 문의 / Contact

  • 이메일 / Email: eleninjaytech@gmail.com

🎯 목표 / Goal

단순한 복사/붙여넣기를 넘어, LLM(ChatGPT, Claude, Copilot 등) 기반의 '바이브 코딩(Vibe Coding)' 생산성을 극대화하는 최적의 컨텍스트 유틸리티를 제공하는 것을 목표로 합니다.

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