Skip to content

Instantly share code, notes, and snippets.

@antris
Created April 21, 2015 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antris/d6f5f7797c90552d1660 to your computer and use it in GitHub Desktop.
Save antris/d6f5f7797c90552d1660 to your computer and use it in GitHub Desktop.
IntelliJ IDEA "go to definiton" bug
var {functionA, functionB} = require('./module')
functionA() // hitting cmd+B does not go to the definition
var m = require('./module')
m.functionA() // hitting cmd+B goes to the definition
module.exports = {
functionA: () => "hello!",
functionB: () => "hello, again!"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment