Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot 'Jump back' after 'Go to definition' #66

Open
idr4n opened this issue Oct 26, 2018 · 0 comments
Open

Cannot 'Jump back' after 'Go to definition' #66

idr4n opened this issue Oct 26, 2018 · 0 comments

Comments

@idr4n
Copy link

idr4n commented Oct 26, 2018

Hi and thanks for an awesome package!

So this is the problem I'm facing:

Expected Behavior

After using Go to definition either with the mouse or keyboard shortcut, if I press ctrl+- I should get back to the point where I triggered the Go to definition command.

Actual Behavior

Pressing ctrl+-, or selecting the option from the menu (GoTo > Jump Back), does not take me to the point where I triggered Go to definition but to some other point back in history.

Steps to Reproduce the Problem

  1. step on any definition with your cursor, say myVar
  2. press super+alt+g (F10 in my case) or click on Go to definition from the tooltip.
  3. Cursor jumps to the definition of myVar (hopefully!)
  4. press ctrl+- to jump back to myVar where you were initially in step 1.
  5. If you were lucky, it might have taken you back to the desired point, but try several times with different definitions and most likely you will see the unexpected behavior.

Specifications

  • Sublime Text 3 build: 3.1.1
  • OS: MacOS Mojave
  • JavaScript Enhancements version: 0.16.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant