tern_jump_to_def to another file after ST restart
Closed this issue · 1 comments
mrkafk commented
Apparently the plugin can't find the definition in another file unless the definition has been sought for first in that other file.
Steps to reproduce:
-
Create two files:
a.js
,b.js
. -
Set a variable
var colorValues = [];
ina.js
. -
Switch to file
b.js
. -
Restart ST3.
-
In file
b.js
typecolorValues
and then try jumping to its definition when cursor is on this word. Result: a popup "Could not find a definition".
It works when:
-
Switch to file
a.js
, typecolorValues
, jump for the definition while cursor is on this word. -
Switch to file
b.js
, jump for the definition oncolorValues
typed in there. Result: ST3 switches toa.js
and correctly places the cursor on the definition.
ST3, latest tern_for_sublime
as of today.