justinmahar / SublimeCSAutocompletePlus

CoffeeScript autocompletions and more!
172 stars 12 forks source link

how to come back after go to definition #36

Closed cooolbasha closed 11 years ago

cooolbasha commented 11 years ago

Hi,

How do you get back to the place started after the go to definition takes you to the source.

thanks

justinmahar commented 11 years ago

On a PC or Mac, press the key combination Ctrl+Tab. This runs the "next_view_in_stack" command, and should take you back to the previously opened tab. Does that solve your problem? Justin

cooolbasha commented 11 years ago

No on click on a function it take me the the function defined in the file which might be on the top line and the call could be down. how can I get back to the call again

greeting = ->
  console.log 'hello world'

console.log "...."
console.log "...."
console.log "...."
console.log "...."
console.log "...."
console.log "...."

greeting()  # clicking on this would take to the top of page..to navigate back from defintion of greeting to the call 

what button should I press. ctrl+tab works if they are in different file..thanks

justinmahar commented 11 years ago

What you are describing is outside the scope of this plugin.

However, it looks like there is a plugin called Change List that can do what you're looking for.