Constrain scope in Visit History facilities?


146
views
1
4 months ago by

Is it possible to constrain the scope searched when using the visit previous|next source browser facility (ie. Alt left|right)?

When editing a multi-module project it would be great to be able to have a back and forward button which cycled back through the history of just the currently selected module.

Wing doesn't support multi-module project browsing as much as I would like, especially when doing research while deciding how and where to make changes.

Sometimes I need to find some place in the current module, a place which I have recently visited. The current facility takes me on a merry dance from module to module, and I often give up on the facility before I get to what I was searching for.

If this enhancement is not practical, enhancements to the Bookmarking facility would be an alternate way of assisting, as I previously suggested in the following link: 

https://www.allanswered.com/post/qpkp/bookmarks-the-one-area-where-wing-underwhelms/ 

Community: Wing Python IDE

There's no way to do this now, but I'll see if we can add it.  You can set bookmarks and traverse only the ones in the current file using the Source > Traverse Bookmarks > Next/Previous in Current File items (or more likely the key bindings shown for those in the menu).  I also tend to use Search in Files and Find Uses as a way to keep track of places I need to visit/review, which I suspect is a reason I've been OK with how bookmarks and visit history work now.  We'll try to improve all of those base on your feedback, although I can't promise when we'll get to it.  Thanks!

written 4 months ago by Wingware Support  

<<<< You can set bookmarks and traverse only the ones in the current file using the Source > Traverse Bookmarks>>>

Thanks, I hadn't noticed that. It would be good if the traverse_same_module options were available via the right click menu in the Bookmarks Tool window.

<<< I also tend to use Search in Files and Find Uses as a way to keep track of places I need to visit/review, which I suspect is a reason I've been OK with how bookmarks and visit history work now.>>>

I make heavy use of those functions. They are great, but they don't cover every case. ie. a complex set of modules ... I go here, there, everywhere via various Find Uses or Search in Files ... "I've got a basic understanding of how it all hangs together" ... "now, where did I see xxxx happening in this module?"

The problem is if I try to find it again via repeated Find Uses or Search in Files, the back|forwards history just becomes a mess.

And the existing history navigation adds some confusion as I am taken out of the current module.

Thanks for considering these enhancements.

written 4 months ago by Barry Mossman  

Similar posts:
Search »