Cover image
Try Now
2025-02-04

Send code snippet and paths to Claude. Designed to work with wcgw mcp server.

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

WCGW

A Mac only VS Code extension that helps you share code snippets with context to Claude. Designed to work with wcgw mcp https://github.com/rusiaaman/wcgw.git

Features

  • Share code snippets from editor with context to Claude
  • Share terminal output with context
  • Add helpful instructions or descriptions for each share
  • Works with editor or terminal selections

How to Use

For Editor Content

  1. Select code in the editor you want to share
  2. Press Cmd+' or run command "WCGW: Send Editor Selection to Application"
  3. Enter helpful text/instructions (or press Escape for default)
  4. Extension will:
    • Switch to Claude
    • Type your instructions
    • Include selected code and context information
  5. Press Cmd+Shift+' to copy the selected code with additional context:
    • Repository structure
    • Frequently relevant files (e.g., package.json, pyproject.toml, Readme.md, etc., listing at least 20 such files)

For Terminal Output

  1. Select text in the terminal
  2. Press Cmd+' (Mac) or run command "WCGW: Send Terminal Selection to Application"
  3. Enter helpful text/instructions (or press Escape for default)
  4. Extension will:
    • Switch to Claude
    • Type your instructions
    • Include terminal output and context information
  5. Press Cmd+Shift+' to copy terminal output with additional context:
    • Repository structure
    • Frequently relevant files (e.g., package.json, pyproject.toml, Readme.md, etc., listing at least 20 such files)

Example Output

Editor Selection

Your instructions or "Here's the code to analyze."

---
Workspace path: /path/to/workspace
---
File path: /path/to/file
---
Selected code:

[your selected code]

Terminal Selection

Your instructions or "Here's the terminal output to analyze."

---
Workspace path: /path/to/workspace
---
Terminal output:

[your terminal selection]

Extension Settings

This extension contributes the following settings:

  • wcgw.targetApplication: Name of the application to send code to (default: "Claude")

Requirements

  • macOS (required for automatic application switching)
  • VS Code 1.85.0 or higher

Known Issues

  • macOS only currently

Release Notes

0.1.0

Added features:

  • Split into separate editor and terminal commands
  • New keybinding (Cmd+Shift+') for terminal selections
  • Improved error messages and context information
  • Better formatting of output

0.0.1

Initial release with features:

  • Code sharing with custom instructions
  • Works with or without code selection
  • File and workspace context
  • Reliable text entry through keyboard simulation

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://duotify.com
  • Professional code reviewer for a unique language, friendly and helpful.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • oatpp
  • Anthropic’s Model Context Protocol implementation for Oat++

    Reviews

    2 (1)
    Avatar
    user_ThXpIbh5
    2025-04-15

    AI Assistant Chat with Nmap Tool Integration by jarrodcoulter is a game-changer for network management. The seamless integration of Nmap with the AI assistant allows for efficient and intelligent network scanning and troubleshooting. The user-friendly interface and real-time assistance make it an invaluable tool for both beginners and professional IT administrators. Highly recommend it!