I've been using this for over a decade and it is a huge help. I highly recommend this add-on to anyone doing C/C++ and/or C# development.
A huge time saver and has some really great features. One of my favorites is that it remembers recent copy/pastes so that you can copy different pieces of code into another part. I recently used this in a project I'm writing where I needed to copy/paste the variable definition/initialization and later usage, but the code in between was different. So just doing a blanket copy-paste was a huge pain.
VA is very useful... when it works! On large projects, it veeeery slow, taking a long time to refresh projects while blocking everything... it's still way faster than IntelliSense, but not always very useful on big solutions with many projects.
I am trying the extension atm. and it's really awesome. But I guess I found a bug.
I am using VS Community 2015 with C++.
std::unique_ptr myPointer(new XYZ...);
Typing myPointer.reset() will get transformed to myPointer->reset();
Workaround atm: After VA changes the operator to -> press ctrl+z once ...
Maybe I am missing something?!
On the Editor page of the VA Options dialog, uncheck the "Convert dot to -> if operator -> is overloaded" setting. The documentation for Convert dot to -> is at http://docs.wholetomato.com/default.asp?W203 -- however the operator-> overload setting is not documented. The default value is checked because we figure that most people are interested in the underlying pointer rather than the wrapper methods.
It sounds like you are not accessing the gallery from within Visual Studio -- try using Tools | Extensions and Updates to install Visual Assist from the online gallery inside of VS.
Alternatively, contact Whole Tomato at http://www.wholetomato.com/support/contact.asp
I experienced sudden VS 2015 crashing every time I tried to load project / solution. Took me some time but I realised that previous day I enabled Visual Assist...
Yes, VA crashes VS 2015 for me (Win 10, project in C++ and DirectX)--
Btw dont understand how can you officially distribute your stupid trialware in 2015 >.< I thought the days of Windows 95 software are gone :X
Sorry to hear of the trouble. We are not able to reproduce the crash. Please contact us via http://www.wholetomato.com/support/contact.asp -- we would like to get a minidump of the crash to diagnose it. Minidump capture is described at https://wholetomato.fogbugz.com/default.asp?W303
This is a great extension but I have a problem with some simple C code. The "extract method" fails and I am keen to know if this is my error or if it can be fixed.
Below is a very simple loop() just to test the "method extract". If I attempt to extract the code inside the for() then an error is displayed and the extracted method is not added to the source code.
The error suggests the most common cause is a readonly source file but this is not the case. The intellisense is working corectly and providing help so it isn't a VS/Code issue.
int a = 0;
int b = 0;
int c = 0;
The reason for the C code is that this is an Arduino program which is supported in Visual Studio because it is just C/C++
I just tried that example and it worked successfully in my environment. What version of VS are you using? Is loop() in a header file or a source file? If a header file, is there are corresponding source file and is it read-write?
Thanks for the reply. I suspect the problem is due to the file extension being .ino or .pde. I will test shortly but I think it will be okay based upon the following info...
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet8 Press Rebuild on the Performance tab of the Visual Assist X options dialog and restart your IDE NOTE:-Replace 8.0 with 10.0 if you use VS 2010.Replace 8.0 with 9.0 if you use VS 2008.Replace 8.0 with 7.1 if you use VS.NET 2003.Replace 8.0 with 7.0 if you use VS.NET 2002.Replace VANet8 with VANet10 for Visual Studio 2010.Replace VANet8 with VSNet9 if you use VS2008.Replace VANet8 with VSNet if you use VS.NET 2003.Replace VANet8 with VANet7.0 if you use VS.NET 2002
VSPain, we're sorry to hear of the trouble you've experienced with update notices. You can disable our update notices on the Startup node of the VA Options dialog. We do have logic that is supposed to notify you when an update is not applicable to your license. It is possible that you received an update notification from the Visual Studio Extension Manager. Unfortunately, the Extension Manager has no knowledge of your license status and you will continue to receive notifications from it unless you disable "Automatically check for updates to installed extensions" on the Extension Manager page of the Visual Studio Options dialog. The Visual Studio Gallery does not allow extensions to opt out of update notifications. Please encourage Microsoft to allow extensions to opt out of update notices since they only have a one-size-fits-all implementation that really only suits free extensions. Thanks.
If you are running Visual Studio 2010 with administrative privileges, you will need to explicitly allow extensions to run:
Tools | Options | Environment | Extension Manager | "Load per user extensions when running as administrator"