Closed Raynos closed 11 years ago
Looking up the definition of a local variable will take you to its declaration. But if you have the node plugin enabled and try to jump to one of the properties of Quiz
, it should take you to the quiz-state
file. Doesn't it?
There is no documentation for how to enable to node plugin. Also Quiz
is a function with zero properties.
There is no documentation for how to enable to node plugin.
Nice thanks!
It would be cool if tern followed require statements
In the expression
var Quiz = require("placement-quiz/quiz-state")
If I have my cursor over the
u
inQuiz
and hitalt+.
it would be more useful if it opened thequiz-state
file and then went to themodule.exports
declaration then if it jumped my cursor to just beforeQuiz