10 March 2010 0 Comments

Tips and Tricks: Clipboard Ring and Toolbox Snippets

I was spending some time responding to Connect bugs the other day when I ran across this suggestion : “It would be nice to have a clip board history window that could be next to the control toolbox as a nice utility window. (Often in presentations I see Microsoft presenters using a custom clipboard tool for such a purpose). Many times I wish I could go back to something I copied & pasted just a few minutes ago, then to have to go and copy the same text all over again.” Turns out that Visual Studio already has this “hidden” feature.  It’s called the Clipboard Ring .  If you copy a number of items to the clipboard, pressing [Ctrl]+[Shift]+[V] will paste the last text that was copied, but it will also highlight the pasted phrase.  Continue holding down [Ctrl]+[Shift] and press [V] again.  This will cause that highlighted section to cycle through the other items on the clipboard.  This is extremely useful when you have to copy multiple lines of separate text to a new document.  Now, you might be saying, “Great, but what if I want to save a piece of code that I use frequently in multiple places?  I don’t want to have to cycle through the clipboard ring every time.”  Well, there’s also a feature for that !  If you highlight a section of code (or text) and drag it to the Toolbox, VS will create a "snippet” (not to be confused with code snippets ) that can be dragged into the VS editor.

24 January 2010 0 Comments

Drag and drop code onto the Toolbox — vstipTool0007

Keyboard Shortcut:  N/A Video:  N/A Menu Command:  N/A Got code you use all the time?  Have you been keeping a closet .txt file to get your code from?  Well it’s time to liberate yourself!  Start using the Toolbox for more than just controls.  When you are in the Editor the Toolbox looks like this: This is a vast expanse of opportunity!  Just select some text and drag it into the Toolbox and see the magic happen: Now you have code ready to go at anytime!  Just place the cursor where you want the code to go and double click on the item in your Toolbox:       You can also Click and Drag where you want the code to go:   There are a couple of extra things you can do as well: You can rename the code snippet to whatever you would like: You can also create additional tabs to organize the code snippets:

6 March 2009 0 Comments

Office 2007 and SharePoint Technical Content in your own Language

A long time ago I blogged about Office developer resources in your own language . Ever since, we have seen the need for “Office Technical Content” in multiple languages. For example, in countries like Russia or France, developers and IT professionals create great SharePoint solutions and deployments, but there is low English affinity on those markets.

3 February 2009 0 Comments

Tools pour les développeurs

Un petit post en forme de dédicace à mon ami Tanguy qui oeuvre dans l’ombre pour Dynamics CRM. Il nous propose quelques outils dont il a le secret qui vous permet de gagner plein de temps dans vos dévs