This extension enable a simple menu item to copy the selected code to the clipboard, with Dream.In.Code code tags included. [code] public IEnumerable<T> Filter<T>(this IEnumerable<T>, Func<T,Bool> fn) { foreach( x in xs ) { if( fn( x ) yield x; ) } [/code]
Screenshot As simple as Right Click -> Copy Code with DIC CodeTags. Updated to support newer version of Visual Studio
|