WF Dependency Property snippet is just three letters!

Matt's Musings

Syndication

You might file this under the "it has always been this way and I'm late in figuring it out" category, but I just found the three letter snippet shortcut for Workflow dependency properties and events.  I didn't see this in earlier builds and was getting tired of CTRL+K -> CTRL+X then drilling into the menus to get to Worfklow Dependency property.  Especially since the EventHandler snippet always came first and the way they are worded I had to either move to the cursor keys or type 25+ characters to get it to move down to the property item. 
 
Now I just WDP + Tab + Tab and I'm happily editing a workflow dependency property. 
Or, I can WDE + Tab + Tab and edit my dependency property for an event handler. 
 
Awesome!

Posted Oct 25 2006, 11:46 AM by matt-milner

Comments

Scott Seely wrote re: WF Dependency Property snippet is just three letters!
on 10-27-2006 12:57 PM
Matt-- Could you elaborate on what WDP + Tab +Tab is? Ditto for WDE. I'm just not getting what the key combo is.
Matt Milner wrote re: WF Dependency Property snippet is just three letters!
on 10-27-2006 8:00 PM
Scott, and others,
In the code editor for an activity or a workflow, type "wdp" (no quotes) in C# and your intellisense should pop up and you'll see an item, now selected, labeled wdp. Hit the Tab key twice and you'll get a template of a workflow dependency property that you can tab through to enter various pieces of data (like name, type, etc) and then press Enter to end editing.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?