WCGW VS Code Extension logo

WCGW VS Code Extension

by rusiaaman

WCGW is a Mac-only VS Code extension designed to facilitate sharing code snippets and terminal output with context to Claude. It streamlines the process of providing Claude with the necessary information for effective analysis and problem-solving.

View on GitHub

Last updated: N/A

What is WCGW VS Code Extension?

WCGW is a VS Code extension that simplifies sharing code snippets and terminal output with context to the Claude AI assistant. It automates the process of including relevant file paths, workspace information, and instructions, making it easier to get help from Claude.

How to use WCGW VS Code Extension?

To use WCGW, select code or terminal output in VS Code, press Cmd+', enter instructions, and the extension will switch to Claude, type your instructions, and include the selected content with context. Cmd+Shift+' copies the selected code/output with additional context including repository structure and frequently relevant files.

Key features of WCGW VS Code Extension

  • Share code snippets with context to Claude

  • Share terminal output with context

  • Add helpful instructions for each share

  • Works with editor or terminal selections

  • Automatic application switching (macOS only)

  • Includes workspace and file path context

  • Copies code/output with repository structure and relevant files

Use cases of WCGW VS Code Extension

  • Getting help from Claude with code analysis

  • Debugging code with Claude's assistance

  • Sharing terminal output with Claude for troubleshooting

  • Providing Claude with context for understanding code behavior

FAQ from WCGW VS Code Extension

What operating systems are supported?

Currently, WCGW only supports macOS due to the automatic application switching feature.

What version of VS Code is required?

VS Code 1.85.0 or higher is required.

How do I change the target application?

You can change the target application by modifying the wcgw.targetApplication setting in VS Code.

What context information is included when sharing code?

The extension includes the workspace path, file path, selected code, repository structure, and frequently relevant files (e.g., package.json, pyproject.toml, Readme.md).

What context information is included when sharing terminal output?

The extension includes the workspace path, terminal output, repository structure, and frequently relevant files (e.g., package.json, pyproject.toml, Readme.md).