tptee / FlowIDE

IDE-caliber support for Flow in Sublime Text
MIT License
38 stars 6 forks source link

Jump to Definition only jumps to import statement (should jump to definition) #4

Open elsigh opened 8 years ago

elsigh commented 8 years ago
import type { foo } from 'bar.js';

function(a: foo) {
  ...
}

When I try to jump to definition on foo in the function it takes my cursor up to the import statement instead of opening the file bar.js and taking me to the definition of foo.

tptee commented 8 years ago

I bet this is the same problem as #3, and that the solution here will solve the problem: https://github.com/tptee/FlowIDE/pull/3/files

Will look at this soon!