atom / ide-typescript

TypeScript and Javascript language support for Atom-IDE
MIT License
368 stars 63 forks source link

Hyperclick jumps to non-existent file #121

Closed Cxarli closed 5 years ago

Cxarli commented 6 years ago

How to reproduce:

First start a clean run of Atom:

cd $(mktemp -d)
export ATOM_HOME=$(pwd)/atom
export HOME=$(pwd)
atom

Go to the package installer and install atom-ide-ui (0.13.0) and ide-typescript (0.7.6).

Create a new typescript file (index.ts) and write the following:

"Hello World".toUpperCase()

Now hold Ctrl and click with the LMB on toUpperCase (active Hyperclick)

A new tab opens, with the title of lib.d.ts -- TypeScript?v2.8.3#lib -- git:/github.com/Microsoft/TypeScript?v2.8.3#lib (Note git:/github.com with the single forward slash), but no code appears.

In case it matters:

$ atom --version
Atom    : 1.29.0
Electron: 2.0.7
Chrome  : 61.0.3163.100
Node    : 8.9.3

$ apm --version
apm  1.19.0
npm  6.3.0
node 10.8.0 x64
atom 1.29.0
python 2.7.15
git 2.18.0

$ uname -r
4.17.12-arch1-1-ARCH
damieng commented 5 years ago

Duplicate of #10