Created
April 21, 2015 08:34
-
-
Save antris/d6f5f7797c90552d1660 to your computer and use it in GitHub Desktop.
IntelliJ IDEA "go to definiton" bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var {functionA, functionB} = require('./module') | |
functionA() // hitting cmd+B does not go to the definition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var m = require('./module') | |
m.functionA() // hitting cmd+B goes to the definition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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