Jump to last position



I not sure if I have missed this but when I jump to definition (ctrl+click) on a function or variable how can I jump back to where I was ?
I find myself often wanting to see what a function was about and jump to it but then have to try find my way back to where I was. I started using ctrl+Arrow when on a highlighted function/variable name but this is dangerous as I start editing and find it is now in multi rename mode (like ctrl+R).



If you use the shortcut jumptodef to jump to definition, which is F3 by default, you can press F3 again to jump back to where you were before. Provided you don’t move the cursor after jumping.


thx that works :slight_smile: