When I clicking with pressed Ctrl on function, it's going to definition and opening preview. This is wrong behaviour.
Ctrl+click and F12 should lead you to definition.
Ctrl+F12 and/or Shift+F12 shoud show preview (peek definition)
Video explanation
When extension is disabled everything works wright.
I am having this same issue. Also when hovering over the variable name in it's definition I will see two typeings of the variable
@jackhamburger your issue is a dupe of https://github.com/flowtype/flow-for-vscode/issues/50
@Eugene-Musika-cpamatica interesting, as there aren't any "Flow: xx" annotations for that file in the video - I think it also is related to #50
@orta there's nothing about annotations in my issue. But somehow my problem is gone. So now this issue is irrelevant. That's why I'm closing it
Nope, sorry, problem still here ;)
Almost forget that I've disabled flow plugin.
Same with me, having that problem
I'm also seeing this issue.
When selecting "Go to definition" it appears both "Go to definition" and "Peek definition" are called, resulting in a new tab opening and a Peek panel opening at the same time containing the same definition.
This only happens when flow-for-vscode is activated.
Most helpful comment
I'm also seeing this issue.
When selecting "Go to definition" it appears both "Go to definition" and "Peek definition" are called, resulting in a new tab opening and a Peek panel opening at the same time containing the same definition.
This only happens when flow-for-vscode is activated.