Author |
Topic |
|
TechnoFrolics
New Member
USA
3 Posts |
Posted - Apr 16 2018 : 11:36:11 AM
|
Hello,
Excuse me for asking what may be a very simple question, but looking at the documentation and in-program settings I did not immediately find (maybe I just missed...).
Can you tell me the simplest/quickest way to reset ALL Visual Assist settings back to their factory defaults?
Thanks
|
David Durlach |
|
feline
Whole Tomato Software
United Kingdom
18983 Posts |
Posted - Apr 16 2018 : 12:47:40 PM
|
This is easily done, but sadly it requires closing the IDE and using regedit to delete the current settings. This page gives the registry path for each of the supported IDE's
https://support.wholetomato.com/default.asp?W407
out of interest, why do you want to do this? It's not something that normally comes up, so if you are trying to fix a particular problem this may not help, depending on what is going on. |
zen is the art of being at one with the two'ness |
|
|
TechnoFrolics
New Member
USA
3 Posts |
Posted - Apr 16 2018 : 1:42:44 PM
|
Thank you very much for the answer - most useful.
Regarding your question:
I am trying to determine what is causing Visual Studio to have very sluggish editing behavior - e.g., can take seconds for characters to echo after typing, to select text, etc., at times making editing very painful. Exiting and restarting VS typically helps.
Plenty of RAM, fast quad core machine. Does however have multiple screens.
Unclear what is causing - VS core, VA, other extensions, a combination/interaction, etc. And indeed, may not have single cause. FYI: Issue has existed across multiple versions of VS (and VA) and/but is definitely noticeably present even with global VA button set to disable, so NOT saying VA the root cause. But think VA may be adding to the issue as well.
What I wanted to do was incrementally disable elements of VA that clearly require detailed text scanning/analysis/redisplay to implement, to see if I could track down one or more elements that might be contributing to the issue. And I wanted, after each set of disables, to be able quickly recover original state of VA, without having to document all my changes etc. (FYI: I am aware of the button that disables VA globally, and am using during testing. But because things not entirely repeatable/deterministic, wanted additional options.)
If I learn anything interesting/relevant, I will post. And if you know what might cause such dramatic slowdowns in VS - again, been true across multiple versions of VS on fast machine - and whether or not related to VA, I would be most interested to learn of them. (Developing in C++, should that be relevant.)
Thanks. |
David Durlach |
|
|
feline
Whole Tomato Software
United Kingdom
18983 Posts |
Posted - Apr 16 2018 : 2:48:07 PM
|
I can suggest a few things to try here. First though, have you checked the memory usage of "devenv.exe"? You mention having plenty of RAM, but the IDE is only a 32bit process, so it's limited to a maximum of 4 gig of RAM.
Next, to fully disable VA, go to the dialog:
IDE tools menu -> Extensions and Updates...
from here you can disable VA, which will require an IDE restart. This is virtually the same as uninstalling VA, but is a lot quicker. You can simply enable VA again later, again doing an IDE restart to complete this operation. If this has a major effect on the speed then this does strongly suggest that VA is a factor.
Another option is to use the "/RootSuffix" command line switch to load the IDE with a new, default profile. For example, assuming you are using VS2017 Professional, the command is:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe" /RootSuffix SpeedTest
You will be prompted to pick your default IDE settings, and only the default extensions will be installed. If you still see the speed problem here then it may be down to the size of your solution, or something outside of the IDE entirely.
To return to your normal, default profile just load the IDE normally, without this command line switch. |
zen is the art of being at one with the two'ness |
|
|
TechnoFrolics
New Member
USA
3 Posts |
Posted - Apr 16 2018 : 3:02:47 PM
|
Thanks again for your quick, comprehensive, and clear reply.
Good point re VS IDE being 32 bit process (I knew, but had forgotten, about that).
If/as I learn anything of use, if I feel relevant to VA community, I will post.
(PS Like your tagline :-) |
David Durlach |
|
|
feline
Whole Tomato Software
United Kingdom
18983 Posts |
Posted - Apr 17 2018 : 06:07:11 AM
|
Thank you, and good luck with your investigations. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|
|
|