An intelligent version of vim's gf
command to 'open file under cursor', appending a .js
if necessary, and opening the relevant index.js
if the 'file' in question is a dir path.
Works out of the box, cmd+clicking the string or whatever key is bound to "Go to Definition" / editor.action.goToDeclaration
.
Most helpful comment
Works out of the box, cmd+clicking the string or whatever key is bound to "Go to Definition" /
editor.action.goToDeclaration
.