I used to use corporate licensed Visual Assist since Visual Studio 6. And now I want to have my very own license for VA X to show my support to the amazing team who created this awesome product! I really cannot imagine how one can write something more complex than "Hello, World!" in naked VS, even in VS 2012.
A tool which you notice bitterly only when it is not there! I have experienced quite a few code browsers for C++, e.g. Eclipse CDT, Emacs (GNU idutils), Xcode, Intellisense (more like Stupisense)... Nothing even comes close to the performance and features of VA. With it disabled or on another platform, coding loses all its fun.
I keep trying to convince colleagues: VA is not just some random code browser, but the best one ever. Most unfortunately are hardwired to their own editors' tool (or lack or it) or plagued by past experience (with Visual Studio/Intellisense). Funny thing is, I feel I am at such an advantage by simply using VA that I don't even care :)
I've been using Visual Assist since VC6 and wouldn't be without it for its intuitive assistance. It is especially useful when presented with existing code as it makes navigating round a breeze and shows great tooltips.
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"