Minimal reproduction for a "Go to Definition" bug in TypeScript Go Native language server.
The issue is here.
When executing "Go to Definition" on onDidChangeContent in documents!.onDidChangeContent():
| Language Server | Results |
|---|---|
| Strada (JS) | ✅ 2 locations: interface Event callable signature + get onDidChangeContent() getter |
| TypeScript Go Native | ❌ 1 location: only interface Event callable signature |
The getter definition is missing in TypeScript Go Native.
- Open this project in VS Code with TypeScript Go Native enabled
- Open
index.ts - Place cursor on
onDidChangeContentin line 5 - Execute "Go to Definition" (F12)
- Observe only 1 result instead of expected 2
- VS Code Version: 1.106.3
- TypeScript (native preview) Extension Version: 0.20251203.1
- OS: Windows 11 Pro 24H2 (Build 26100.7171)