tangramdotdev / tangram

Tangram is a build system and package manager.
https://www.tangram.dev
MIT License
83 stars 6 forks source link

Fix LSP go-to-def on the Tangram global #313

Open deciduously opened 4 days ago

endbr64 commented 4 days ago
run_request_handler, error: Error { message: Some("Uncaught Error: Could not find source file: '/7b226b696e64223a227473222c227265666572656e74223a7b226974656d223a222f686f6d652f646d69747269792f776f726b2f73637261746368222c2273756270617468223a222e2f74616e6772616d2e7473227d7d.ts'."), location: Some(Location { symbol: None, source: Internal("node_modules/typescript/lib/typescript.js"), line: 149756, column: 21 }), stack: Some([Location { symbol: None, source: Internal("packages/compiler/src/main.ts"), line: 46, column: 29 }, Location { symbol: None, source: Internal("packages/compiler/src/definition.ts"), line: 31, column: 46 }, Location { symbol: None, source: Internal("node_modules/typescript/lib/typescript.js"), line: 150260, column: 70 }, Location { symbol: None, source: Internal("node_modules/typescript/lib/typescript.js"), line: 149756, column: 21 }]), source: None, values: {} }

7b226b696e64223a227473222c227265666572656e74223a7b226974656d223a222f686f6d652f646d69747269792f776f726b2f73637261746368222c2273756270617468223a222e2f74616e6772616d2e7473227d7d is serialized {"kind":"ts","referent":{"item":"/home/dmitriy/work/scratch","subpath":"./tangram.ts"}}