JavaScriptEnhancements
JavaScriptEnhancements copied to clipboard
Cannot 'Jump back' after 'Go to definition'
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
- step on any definition with your cursor, say
myVar - press
super+alt+g(F10in my case) or click onGo to definitionfrom the tooltip. - Cursor jumps to the definition of
myVar(hopefully!) - press
ctrl+-to jump back tomyVarwhere you were initially in step 1. - 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