惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
博客园 - Franky
V
V2EX
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI
博客园 - 叶小钗
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
D
Docker
博客园 - 【当耐特】
阮一峰的网络日志
阮一峰的网络日志

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - firish/claude_code_vs
firish · 2026-06-16 · via Hacker News: Show HN

Claude Code for Visual Studio

Bring Claude Code into Visual Studio 2026 - a native diff window with accept/reject, automatic selection + compiler-diagnostics context, and a live stats panel. The claude CLI does the agent work; this extension is the IDE half of Claude Code's integration protocol.

Demo

Status: community project, not affiliated with Anthropic. Visual Studio 2026 only, for now.


Why

Claude Code has first-class IDE integration for VS Code and JetBrains, but not Visual Studio - see anthropics/claude-code#15942. This extension implements that same IDE-integration protocol natively for VS, so the CLI drives a real Visual Studio diff window and sees your selection and build errors - instead of you copy-pasting into a terminal.

What you get

  • Native diff with a single accept/reject gate - Claude's edits open in Visual Studio's diff viewer, and approving there is the only step (no duplicate y/n prompt in the terminal).
  • Reject with feedback - reject an edit and tell Claude what to change; it reconsiders with your note.
  • Run wild (auto-accept) - a panel toggle to apply edits without opening the diff, for when you want to let it cook. Resets each session.
  • Diagnostics sharing - Claude reads Visual Studio's compiler errors/warnings (C# and C++) and fixes them.
  • Selection context - Claude automatically knows the file and lines you're looking at.
  • Live panel - a dockable Claude Code panel: connection status, edit decisions, and token usage + estimated cost (latest call vs cumulative session).

Requirements

  • Visual Studio 2026.
  • The Claude Code CLI, installed and authenticated - see the Claude Code docs. This extension makes no model calls and does no agent work itself; it requires the CLI.
  • Tested against claude 2.1.173.

Install

  • Marketplace: search "Claude Code for Visual Studio" in Extensions -> Manage Extensions, or install from the Visual Studio Marketplace.
  • Sideload: download the .vsix from Releases and double-click it.

Quickstart

  1. Open your project or solution in Visual Studio 2026.
  2. Open the Claude Code panel (View -> Other Windows -> Claude Code) and click Launch Claude Code (also available on the Tools menu).
  3. A terminal opens running claude, already connected to the IDE (no /ide needed). The panel pill turns green - Connected.
  4. Ask Claude to make a change. Its edit opens as a diff - click Accept, Reject, or Reject with feedback….

Diagnostics need a loaded project (not a loose file in Open-Folder mode) for the compiler to analyze it.

How it works

This is a protocol bridge, not a re-implementation of the agent. On launch the extension:

  1. Starts a localhost WebSocket server and writes a lockfile at ~/.claude/ide/<port>.lock.
  2. Launches claude with ENABLE_IDE_INTEGRATION and the bridge port, so it auto-connects and speaks MCP / JSON-RPC over the socket.
  3. Implements the IDE tools the CLI drives - openDiff, openFile, getDiagnostics, selection updates, and diff-tab lifecycle.

To make the VS diff the single approval gate, the extension installs a small PreToolUse hook into your workspace's .claude/settings.json that routes proposed edits through the diff. The CLI does all agent work; the extension never makes model calls.

Privacy & security

  • The bridge binds to 127.0.0.1 only and validates an auth token (from the lockfile) on every connection. The token is never logged.
  • The extension makes no network calls and no LLM calls of its own. All AI work is the claude CLI, under your own authentication.
  • On Launch, it writes these into your workspace's .claude/ folder and merges hook entries into .claude/settings.json (preserving existing content):
    • vs-permission-hook.ps1 - routes Edit/Write/MultiEdit edits through the VS diff.
    • vs-usage-hook.ps1 - reports the transcript path so the panel can show token stats.
  • Token cost is an estimate (hardcoded per-tier prices), shown only when you click Show est. cost.

Limitations & known issues

  • Visual Studio 2026 only for now (a VS 2022 backfill is planned if there's demand).
  • The IDE-integration protocol is undocumented and version-fragile - a claude update could change it. Known-good: 2.1.173.
  • Diagnostics need a loaded project (the Error List / Roslyn won't analyze loose files).
  • Token stats refresh on edits (the reliable hook trigger), so a chat-only turn may not update them immediately.
  • Cost figures are estimates, not billing.

Troubleshooting

  • Panel says "Waiting for CLI": click Launch Claude Code, or run /ide in a claude terminal and pick Visual Studio.
  • New files land in the wrong folder: launch from the extension (it pins the working directory to your workspace), or run claude from inside the repo.
  • getDiagnostics returns nothing: open the code as a project and confirm the error appears in the Error List.
  • Filing a bug: include the Output -> Claude Code pane contents and your claude --version.

Build from source

Requires Visual Studio 2026 with the Visual Studio extension development workload.

msbuild src/ClaudeCodeVS/ClaudeCodeVS.csproj /t:Rebuild /p:Configuration=Release

Press F5 (or launch devenv /rootsuffix Exp) to debug in the experimental instance. Architecture and contributor guidance live in CLAUDE.md. Future work lives in ROADMAP.md.

Contributing

Issues and PRs welcome. The protocol contract is undocumented and has regressed before - if you bump the claude CLI, please run the spike smoke test (spike/) and note the version.

License

MIT © 2026 Rishi Gulati. Not affiliated with Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic, used here only to describe interoperability.