Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Open file in solution taking longer than usual.

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
mac_twist Posted - Jan 29 2018 : 10:50:02 AM
Whenever I use the Open file in solution feature, the window stalls at [loading...] for 3-5 seconds before listing the files. If I press escape during this time, it interrupts loading of external files (I think?) and files show up right away.

1. Is there a way to never load external files by default so I don't have to push ESC each time I use this window?

2. What could cause this huge delay? It's only been happening as of recently. Few noteworthy things that have changed are my OS (now on windows 10) and possibly project properties due to an upgrade of some core tech we are using.

Thanks for the help!
14   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 31 2018 : 2:53:31 PM
It looks like the number of files in the solution, on its own, is not a trigger. With VS2015 and VA 2248 I have now set up a slightly larger test case, 94,432 files in the solution. There is a slight delay before the Open File dialog first appears, but once it appears the file list is populated in under a second. This is with "Show only files in the current solution" turned On.
feline Posted - Jan 30 2018 : 10:26:59 AM
And I thought I was testing a large solution with a mere 25,000 files inside the solution. I will make a larger solution, and see if I can reproduce this problem here, now I know what the trigger seems to be.
mac_twist Posted - Jan 30 2018 : 09:56:49 AM
49321... a bit less but still significant.
feline Posted - Jan 30 2018 : 09:36:19 AM
Out of interest how many files are now being listed in the Open File in Solution dialog? I am wondering if it was just the number of files, or something else at work that caused this slowdown for you.
mac_twist Posted - Jan 30 2018 : 09:04:02 AM
Ok, checking 'Show only files in the current solution' fixes the issue. I'll keep that checked for now, thanks for your help!
feline Posted - Jan 30 2018 : 09:00:18 AM
Apologies for the confusion, the "Show only files in the current solution" checkbox is not part of the right click menu. This check box is at the bottom of the dialog, below the filter field, and is always visible. This should greatly reduce the number of files showing in the dialog, and hopefully remove this delay as well.
mac_twist Posted - Jan 30 2018 : 08:37:50 AM
I'd like to toggle 'Show only files in the current solution' to test but I can't see it. Is it only part of the newer version?
sean Posted - Jan 29 2018 : 5:20:12 PM
When the checkbox for "Show only files in the current solution" is unchecked, the context menu has more filtering command/settings.

Build 2248 improved performance for Ctrl+D (include all files in solution directories) that might also address the latency you are experiencing when "Show only..." is unchecked and "Include shared system files" is checked (case=111851).
feline Posted - Jan 29 2018 : 4:26:51 PM
What sort of solution are you working in? I am not seeing some of these entries in my mostly C++ solution.

Also, just to double check, this is in VA's Open File in Solution dialog, which I am opening via the keyboard shortcut Alt-Shift-O?

I am wondering where the "include shared system files" entry is coming from, since I am not seeing this here, and wonder if it is down to the solution type.
mac_twist Posted - Jan 29 2018 : 3:23:33 PM
Unchecking 'Include shared system files' seems to have removed the latency of bringing the file list up.
mac_twist Posted - Jan 29 2018 : 3:15:06 PM
Is this option supposed to be in the context menu when right clicking in the open file dialog? I don't see it.
Options are:
Include solution files
Include PrivateSystem files (checked)
Include Shared system files (checked)
Include external files (checked)
Include open files
Combine duplicate file entries (checked)
Match case if search string contains uppercase letter
Tooltips (checked)
feline Posted - Jan 29 2018 : 2:53:43 PM
OK, that's a lot of files, but still does not explain this slowdown. Do you have "Show only files in the current solution" turned On or Off, and does changing this have any effect on this?
mac_twist Posted - Jan 29 2018 : 12:37:52 PM
The "Include all files in solution directories" is off and producing this behavior.
I'm suing VS2015 and VA version is
VA_X.dll file version 10.9.2238.2 built 2017.11.10
DevEnv.exe version 14.0.25420.1 Professional
msenv.dll version 14.0.25431.1
Comctl32.dll version 6.10.15063.0
Windows 10 10.0 Build 15063
16 processors (x86-64, WOW64)
Language info: 1252, 0xc0c

Second number in the title bar is: 59631
feline Posted - Jan 29 2018 : 12:32:29 PM
Can you please show the Open File dialog, let it finish loading, and now right click into the list of files.

Do you have "Include all files in solution directories" turned On or Off? If this is turned On, can you please try turning this Off, and see if this has any effect? This can be a very helpful setting, and can be toggled on with a keyboard shortcut, but if you have a lot of directories and don't want it, it can cause a significant slow down in populating the list of files.

If this isn't it, which IDE and version of VA are you using?

When the dialog has finished loading, what is the second number in the title bar? This is the total number of files that the dialog is listing, and will give me some sense of scale here.

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