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
 Feature Requests
 Disable VA Parse during build
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yatagarasu
Junior Member

14 Posts

Posted - Apr 01 2016 :  11:37:53 AM  Show Profile  Reply with Quote
Please can you add feature of disabling VA Parsing during build, or some button to stop VA Parsing.
Disabling Visual Assist is not working for some reason, it became reenabled after solution open.

Sometime projects are too big, and a build is needed now, and VA PArsing reaali slows everything.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 01 2016 :  12:35:12 PM  Show Profile  Reply with Quote
VA needs to parse before it can help you, which is why it does not easily pause.

If you are working in a large project, you may find turning Off:

VA Options -> Performance -> Parse all files when opening a project

helps. This will keep parsing to a minimum when loading the project, which may help even when you are not building.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 01 2016 :  9:37:52 PM  Show Profile  Reply with Quote
That is a reasonable request. case=96201
Go to Top of Page

yatagarasu
Junior Member

14 Posts

Posted - Apr 25 2016 :  06:53:33 AM  Show Profile  Reply with Quote
So will you make a button which switches VA on and off. Because it is kinda... VA starts to reparse files whenever it think it needs, not when I think it is needed.
An maybe use less cpu resources during that process. VA is not most important part of development process.

Thanks.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 25 2016 :  1:45:30 PM  Show Profile  Reply with Quote
The idea behind this case is that VA will automatically detect when you are doing a build, and do its best to keep out of the way, so as to not slow down the build.

Once you have loaded the solution, and VA has finished any parsing caused by loading, VA should only reparse files when they have been changed, and when you are not typing. We wait for you to stop typing before parsing your latest edits.

Are you seeing any pattern to the parsing that happens, the parsing that you don't think should happen?

Do you have:

VA Options -> Performance -> Watch for externally modified files and reparse when necessary

turned On or Off? If this is turned On, and you do a source control update, this would explain extra parsing.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 25 2016 :  2:47:05 PM  Show Profile  Reply with Quote
You can restrict the number of cores that VA will use:
http://support.wholetomato.com/default.asp?W134
Go to Top of Page

yatagarasu
Junior Member

14 Posts

Posted - Apr 25 2016 :  10:22:45 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

You can restrict the number of cores that VA will use:
http://support.wholetomato.com/default.asp?W134



Thanks, you should extend your options dialog I think.
What is the default value? It should not use all cores by default i think. I set it to -2 cores and visual studio became much responsive.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 26 2016 :  4:29:02 PM  Show Profile  Reply with Quote
Yes, we should add the setting to the options dialog. case=96790
The default value is all cores.

Did you set it to negative 2??
Go to Top of Page

yatagarasu
Junior Member

14 Posts

Posted - May 04 2016 :  12:44:50 AM  Show Profile  Reply with Quote
quote:
Originally posted by sean
Did you set it to negative 2??


No, I mean NumOfCores - 2 )
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - May 04 2016 :  12:53:41 AM  Show Profile  Reply with Quote
Thanks for the clarification.
Go to Top of Page

yatagarasu
Junior Member

14 Posts

Posted - Jun 12 2016 :  08:58:15 AM  Show Profile  Reply with Quote
So any progress with this feature?
Is it hard to add buttons to manually start and stop scan?


VA is so helpfull in hanging visual studio when it is not needed.

Edited by - yatagarasu on Jun 12 2016 09:05:16 AM
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 13 2016 :  12:27:24 PM  Show Profile  Reply with Quote
The next release of VA will have a checkbox to let you switch file parsing from multithreaded to singlethreaded.

That said, it will have no effect on the "Reading solution projects" message -- that occurs on the UI thread and is unrelated to file parsing. Do you have "enumerate project references thoroughly" checked? If so, uncheck it; see http://docs.wholetomato.com/default.asp?W664
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