Sublime Forum

Goto with Javascript dot-notation?

#1

Is there a trick or plugin for a “Goto”-command, which quick-jumps via the Javascript dot-notation?

Like if you’ve a variable-object like this:

var foo = { bar: function() { return 1 }, bot: function() { return 2 }, bit: function() { return 3 } }

So you could quick jump there with:

Press: CTRL+R and ENTER
Type: “foo.bar” and press ENTER

I know you can access functions with CTRL+SHIFT+R, but what is when you’ve in your object functions with the same name?

0 Likes