Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Open File in SLN shows duplicates from diff prjs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JonnyOThan
New Member

7 Posts

Posted - Sep 30 2009 :  3:59:03 PM  Show Profile  Reply with Quote
Sorry for the abbreviated subject!

The Open File in Solution window shows one entry for each file for each project that references the file. This results in duplicate entries for the file if the same file is in many projects.

the setup:
create a (C++) solution with two projects
add an existing file to both projects
Open the open file in solution dialog and start typing the file's name

result:
The file will be listed twice, the only difference in the two entries being the "project" field

This is bad because if there is a set of files that have similar names that are shared between two projects, the file list is effectively doubled when looking for those files.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 30 2009 :  4:13:51 PM  Show Profile  Reply with Quote
Just right click on the file list in the Open File in Solution dialog and select "Combine duplicate file entries" from the menu. It is a checkbox and will remember your setting next time you open this dialog again.
Hope this helps.
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 30 2009 :  4:14:10 PM  Show Profile  Reply with Quote
If you right click in the window you can choose to 'Combine duplicate file entries' and that should solve your issue. :)

D'oh, beaten to the punch. :)

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64


Edited by - rhummer on Sep 30 2009 4:14:35 PM
Go to Top of Page

JonnyOThan
New Member

7 Posts

Posted - Oct 01 2009 :  5:46:51 PM  Show Profile  Reply with Quote
Well, that's pretty awesome! The context menu is pretty non-discoverable though. Why not put that checkbox at the bottom - there's already a checkbox there! Because of that, I figured there weren't any more options for the window.

I'd also suggest "combine duplicate file entries" to be turned on by default.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 04 2009 :  5:34:20 PM  Show Profile  Reply with Quote
I have put in a feature request to move this option to the dialog from context menu:

case=33203

Also, put in a request to make it on by default:

case=33201

since you can see all projects in the "Projects" column even in "combined" mode.

Edited by - accord on Oct 04 2009 5:36:38 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 31 2010 :  1:17:56 PM  Show Profile  Reply with Quote
case=33201 is implemented in build 1810

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000