Skip to content

imbant/ts-go-definition-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

TypeScript Go Native - Go to Definition Bug

Minimal reproduction for a "Go to Definition" bug in TypeScript Go Native language server.

The issue is here.

Bug Description

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.

Steps to Reproduce

  1. Open this project in VS Code with TypeScript Go Native enabled
  2. Open index.ts
  3. Place cursor on onDidChangeContent in line 5
  4. Execute "Go to Definition" (F12)
  5. Observe only 1 result instead of expected 2

Environment

  • VS Code Version: 1.106.3
  • TypeScript (native preview) Extension Version: 0.20251203.1
  • OS: Windows 11 Pro 24H2 (Build 26100.7171)

About

Minimal repro for TypeScript Go Native language server definition bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published