I have tern working well for functions and variables within a file, but I get "No definition found." when I try to jump to a function outside the current file.
You're using ES6 modules, so you should enable the es_modules plugin, and probably also the node_resolve one if you're relying on node's resolution rules to find libraries.
I have tern working well for functions and variables within a file, but I get "No definition found." when I try to jump to a function outside the current file.
Here's my .tern-config:
As an example, when my cursor is on DataSource, it should jump to the method DataSource within the 'react-native' node module.
I'm using ES6, and I'm not even sure if this works in ES5. So is this possible? Thanks for the help.