Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Switch to file from working set

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
apostlethwaite Posted - Feb 17 2012 : 03:46:12 AM
Add a new dialog similar to the Open File in Solution, but filter the entries to the currently open (and perhaps very recently closed) files in the IDE.

This would be similar to buffer switching in Emacs.

I work on a solution containing two projects, but both contain similarly named files. Typically I will open some files from one project and end up with the working set I need.

I can currently switch between these files using the Ctrl+Tab shortcut in VS, but it's slow. Using the Open File in Solution allows me to type the desired filename, but the first hit might be from the project which I'm not currently working on.
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 21 2012 : 9:36:32 PM
This makes sense, and you make a good case here. I have put in a feature request for this. Adding a check box to the existing Open File dialog to only show open files should work well here.

case=64838
apostlethwaite Posted - Feb 19 2012 : 11:28:08 AM
thanks, good tip about the shortcut to va-view, i hadn't thought of doing that.

quote:
Originally posted by feline
How many open files do you normally have a time? The OFIW dialog is designed for handling lots of files, and seems like a slightly "heavy" solution here.



not many, let's say between 30 and 40, but OFIW is almost automatic at this point. i use it above almost every other way of opening a file, because it's so quick to type and choose.

typically i'll know i want to go to file "monkey.cpp", but if i have different "monkey.cpp"s in multiple projects, its a glance to the project column to see which one i definitely want. it's still much quicker than using the ctrl+tab cycling.

va-view with keyboard accelerator might work out as a good shortcut to open files, i'll give it a go.
feline Posted - Feb 17 2012 : 4:15:54 PM
For VA View, you can set this to auto hide, so it takes up virtually no screen space, and map a keyboard shortcut to the command VAssistX.VAView in the IDE keyboard settings. Once focus is in VA View tab twice will get you into the recently used list. Not instant, but fairly quick and easy.

How many open files do you normally have a time? The OFIW dialog is designed for handling lots of files, and seems like a slightly "heavy" solution here.
apostlethwaite Posted - Feb 17 2012 : 11:50:53 AM
hi,

quote:
Originally posted by feline

Are you aware of the Most recently used list in the top half of VA View:



Yeah, but this requires a) having the view open, b) using the mouse to select the file.

I tend to have nothing but the code editor open most of the time.

quote:
Originally posted by feline
try pressing CTRL+ALT+Down Arrow together. This should open the small pull down list at the right hand end of the tab bar.



Yes I've used that as well, but it suffers from the same problem as Ctrl+Tab interface - you can't type to filter the results.
It's got a non-fuzzy match, so you can start the filename, I suppose that's enough in most circumstances.
feline Posted - Feb 17 2012 : 11:32:31 AM
Are you aware of the Most recently used list in the top half of VA View:

http://www.wholetomato.com/products/features/mru.asp

If you are using a more modern IDE (VC6 does not do this), try pressing CTRL+ALT+Down Arrow together. This should open the small pull down list at the right hand end of the tab bar. It is just to the left of the X for closing the current tab. This is a simple list of all open files, and once I discovered it I found it to be very useful, and I am often using it to quickly and easily swap between open files.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000