Tips and Tricks

Implementing Virtual Methods with Visual Assist

Visual Assist has a feature—Implement Virtual Methods—that makes it easy to implement an interface, or abstract methods of a base class. You don’t need to create anything manually. Move the caret to a base or interface class in the declaration of your derived class, or to the derived class if you want to implement methods from all bases classes. Open a refactoring menu—via the context…
Read more
Tips and Tricks

Scope of Refactoring in Universal Solutions

At the Build 2014 conference in San Francisco, Microsoft announced availability of Universal Solutions in Visual Studio 2013 Update 2 RC. When you are ready to explore the functionality of this major improvement to the IDE, you’ll want to know how several often-used…
Tips and Tricks

Sorting One's Code

Visual Assist has a plethora of features, and it’s difficult to know them all. It’s an even greater challenge to use all of them at every opportunity. We had one user, Tom, write recently that his “very small favourite feature” in Visual Assist is Sort Lines. Sort lines, we wondered. We don’t often sort when writing code. After a bit of thought, we acknowledged…
Read more
Tips and Tricks

Using Find References to Manage a Task

Find References has been a feature of Visual Assist for about a decade. And, while Find References now shares its name with a version of the command integral to Microsoft Visual Studio, the original has pragmatic components that should make it the everyday preference. If…
Tips and Tricks

Taming the List of Methods in File

Visual Assist includes a List Methods in File (Alt-M) feature, inaptly named because the list has grown to include more than just methods, that is a convenient way to navigate a large file. But, even if you use filtering to target specific entries, the list is sometimes unruly. You can tame the list by limiting the type of entries included in it; for example, by excluding properties and…
Read more
Tips and Tricks

alt+g in Comments

If you don’t read our build change history page, you might miss some small gold nuggets.  For example, back in build 1734, we added an enhancement to our goto command (alt+g) so that it operates within comments.  The accuracy of goto within comments depends upon…
Tips and Tricks

Open File in Solution tip

I was using the OFIS (Open File in Solution) dialog the other day and it occurred to me that I use some features in it that might not be so apparent to users that didn’t actually write the code for it.  As an aside, this feature was formerly known as Open File in…
Tips and Tricks

Add Include

We recently released a feature for C/C++ that has long been requested: Add Include.  A lot of work had previously been put into our #include completion listboxes – but that work is moot because now you don’t need to type #includes directives by hand. The Add Include command is available when you place the caret on a symbol which is declared in a header file that is not directly…
Read more