Skip to content

Instantly share code, notes, and snippets.

View thorn0's full-sized avatar

Georgii Dolzhykov thorn0

View GitHub Profile
@thorn0
thorn0 / README.md
Last active March 9, 2026 22:05
Workaround: Make TypeScript LSP work with Claude Code on Windows (supports both official typescript-lsp and vtsls plugins)

LSP proxy workaround for Claude Code on Windows

Makes TypeScript LSP servers work with Claude Code on Windows. Supports both the official typescript-lsp plugin (uses typescript-language-server) and the third-party vtsls plugin from claude-code-lsps (uses vtsls).

Related issues:

  • #16751 — Node.js spawn() can't execute .cmd wrappers on Windows
  • #17136 — LSP on Windows

The problems

var http = require("http");
function log() {
var args = [].slice.call(arguments);
args.unshift(process.uptime()+"s:");
console.log.apply(console, args);
}
var agent = new http.Agent({
keepAlive: true,