Ask Your Question
1

Ability to navigate through cursor position history (Back/Forward arrow buttons)

asked 2021-04-29 08:12:25 -0500

jrez gravatar image

updated 2021-04-29 16:03:00 -0500

I was wondering whether Wingware has considered adding a cursor history-navigate option when clicking the Back/Forward buttons (the left-right arrows at the top of the code editor).

For example: in a Python module, if I am on line number 1,800 and then I remember that I'm missing an import at the top of the file, I'll scroll up to the top of the file, add my import. Then I want to be able to click the back button so WingIDE will take me back to the last cursor position, which was on line 1800. Currently, WingIDE does not take me back to line 1800. I have to remember that I was on line 1800. Instead, if I click Back, it takes me to the last "file", kind of like a web browser.

This missing feature is becoming ever more important to me as my projects grow and I'm navigating hundreds of lines of code in a single module file.

Another example: If I have two files: A.py and B.py: If I'm looking at A.py then I navigate to B.py, then when I press back, I would expect it to go back to A.py. But if I scroll multiple times and change my cursor position in B.py, I would expect the back button in B.py to navigate my cursor history in B.py and in the end, it should take me back to A.py if it has gone to the end of the cursor's history in B.py.

The 'Forward' button should be similar, but for going forward.

PyCharm has cursor back/forth history navigation, and so does Visual Studio, but I would rather use Wing because of the method drop-down menu at the top of the editor, which is very useful.

Please consider adding this feature to the Back/Forward arrow buttons at the top.

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-29 16:04:19 -0500

Wing does do this in some cases, like after goto-definition. I think there's code in there to do it after scrolling more than a certain number of lines but it's not working for me either. We'll look into this and either fix it or implement the feature if I'm wrong about what the code is intending. Thanks!

edit flag offensive delete link more

Comments

That would be awesome! Btw Thanks for such a great and easy-to-use product (I use Wing Pro). I look forward to the update!

jrez gravatar image jrez  ( 2021-04-30 08:41:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-04-29 08:12:25 -0500

Seen: 85 times

Last updated: May 03