Closed pangxiaoli closed 2 years ago
What if you run go to definition
by right clicking on test
?
What if you run
go to definition
by right clicking ontest
?
Nothing happens, and the right click does not have the option go to definition
, i just click it by go -> go to definition
. i had clear all cache and reinstall vscode, it useless.
You've likely disabled the built-in JS/TS extension (or have changed the language mode of the file to something besides javascsript
or typescript
). Search @builtin typescript
in the extensions view to make sure TypeScript and JavaScript Language Features
is enabled
for example: for this javascript code:
when
ctrl + click
the tset on line 3, go to defination don`t work, but it work on some past versions.i had try run code with
--disable-extensions
, but useless.