Vscode_deno: no intellisense because the mapped file name is not ended with '.ts'

Created on 13 May 2020  路  10Comments  路  Source: denoland/vscode_deno

deno: 1.0.0-rc3
v8: 8.4.300
typescript: 3.8.3

鍥剧墖

Most helpful comment

I will fix it

All 10 comments

maybe a Deno's issue:

deno cache https://deno.land/std/fs/mod.ts
...
Found 12 errors.

no error

D:\>deno cache https://deno.land/std/fs/mod.ts
D:\>deno -V
deno 1.0.0-rc3
D:\>

ok. I know what you mean.
add '--unstable'

D:\>deno cache https://deno.land/std/fs/mod.ts --reload --unstable
Download https://deno.land/std/fs/mod.ts
Compile https://deno.land/std/fs/mod.ts
Download https://deno.land/std/fs/empty_dir.ts
Download https://deno.land/std/fs/ensure_dir.ts
Download https://deno.land/std/fs/ensure_file.ts
Download https://deno.land/std/fs/ensure_link.ts
Download https://deno.land/std/fs/ensure_symlink.ts
Download https://deno.land/std/fs/exists.ts
Download https://deno.land/std/fs/expand_glob.ts
Download https://deno.land/std/fs/move.ts
Download https://deno.land/std/fs/copy.ts
Download https://deno.land/std/fs/read_file_str.ts
Download https://deno.land/std/fs/write_file_str.ts
Download https://deno.land/std/fs/read_json.ts
Download https://deno.land/std/fs/write_json.ts
Download https://deno.land/std/fs/walk.ts
Download https://deno.land/std/fs/eol.ts
Download https://deno.land/std/path/mod.ts
Download https://deno.land/std/path/win32.ts
Download https://deno.land/std/path/posix.ts
Download https://deno.land/std/path/common.ts
Download https://deno.land/std/path/separator.ts
Download https://deno.land/std/path/interface.ts
Download https://deno.land/std/path/glob.ts
Download https://deno.land/std/path/_constants.ts
Download https://deno.land/std/path/_util.ts
Download https://deno.land/std/testing/asserts.ts
Download https://deno.land/std/fmt/colors.ts
Download https://deno.land/std/testing/diff.ts
Download https://deno.land/std/path/_globrex.ts
Download https://deno.land/std/fs/_util.ts

I will fix it

Just to add to the discussion: Still happening on deno 1.0.0

image

deno: 1.0.0
v8: 8.4.300
typescript: 3.9.2

Extension currently on Version 1.28.0 and it's reproductible on the following repository: https://github.com/rodolphocastro/deno-todo

Currently running on Windows

There is no problem on my MBP, I will test it on win10 at night

There is no problem on my MBP, I will test it on win10 at night

Just checked on an Ubuntu 18.04 running on WSL2 and the same issue happened:

image

Found deno, version:
deno: 1.0.0
v8: 8.4.300
typescript: 3.9.2

@justjavac are there any logs I could enable to help you with this?

Problem seems to be caused by the non-matching import paths in cached modules since deno internally translates file names into hashes.

image

image

@rodolphocastro I have reproduced this bug and found the cause of the bug.

thanks @ibrahimduran, it is this reason

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elazutkin-dynata picture elazutkin-dynata  路  8Comments

jeiea picture jeiea  路  11Comments

Ragzouken picture Ragzouken  路  5Comments

zeljkoantich picture zeljkoantich  路  9Comments

evilsquirrel404 picture evilsquirrel404  路  4Comments