Author |
Topic |
|
dant2k
New Member
3 Posts |
Posted - Oct 12 2011 : 3:56:24 PM
|
This has been a problem for a while (couple years anyway). Over time the Open File In Solution dialog takes longer and longer to open. I generally fix this by reopening the solution, but it's frustrating and I'd like it to be fixed.
I think it's related to having the "Show only files in the current solution" checkbox cleared.
Thanks |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Oct 13 2011 : 4:21:19 PM
|
Which Visual Studio are you using? Which version of Windows are you using? Is that problem depends on how many documents have you opened in parallel? Or it "just" gets slower and slower? e.g. when you re-open your solution, do you have the same number of files (tabs) opened as you had before the re-open and despite this you got faster performance? |
|
|
dant2k
New Member
3 Posts |
Posted - Oct 13 2011 : 8:50:53 PM
|
VS 2008 Windows 7
If I close the open documents it's faster, at least in my current scenario.
I don't use VS to build, so the solution doesn't contain a list of files, so I tend to accumulate open files over time. However, OFIS should just be doing filename substring matches - the delay makes zero sense. I don't have *that* many files open.
Looked in to it a bit with Procmon and ResourceMonitor. Doesn't appear to be hitting the disk, or hard faulting. devenv CPU usage spikes. I can't imagine what it taking so long to load a list of files when not hitting the disk. |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Oct 14 2011 : 01:32:28 AM
|
The bottleneck is having to ask the IDE what files are open. If you check the "show only files in the current solution" box, are any files missing from the list? If you load an empty solution, VA should add files you open to the OFIS list if the "if solution is empty" option is checked in the VA Options dialog on the Projects | File Handling page. |
|
|
dant2k
New Member
3 Posts |
Posted - Oct 20 2011 : 4:15:47 PM
|
Thanks! This seems to be working well for the moment.
There was a reason I checked that box, but I don't think that File Handling option was there when I made that decision years ago. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Oct 20 2011 : 4:42:53 PM
|
The file handling options have been added over the last few years, so they probably weren't there when you made the original decisions about your settings. I am glad they are helping |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 16 2011 : 1:52:02 PM
|
Open Files in Solution issue is case=19139, and is fixed in build 1862 |
|
|
|
Topic |
|