Visual Studio Tooltips unplugged: Drag and Drop code artifacts to Toolbox General Tab.

Posted by: the telerik blogs, on 12 Sep 2008 | View original | Bookmarked: 0 time(s)

I bet you never thought about this feature! Me either…

It’s good that there is a marvelous blog about all goodies in VS maintained by a nice lady.

I will be monitoring and making comments on the topics there that have excited me most.

So what is on today’s menu? As you’ve probably figured it out already, I will comment on a fine (but unknown to me) feature of dragging and pasting code artifacts straight to the VS toolbox. At first I was a little bit skeptic, but it really worked out, let me show you how:

selecting

1. Mark a code segment in the code editor

generalTab

2. Drag the selected code to the General Tab of the Toolbox

generalTabDragged

3. You will end up with a toolbox item that represents the code snippet.

generalTabPaste

4. Drag back to the code editor, or double click to insert at the cursors position.

Yes, that was it really :) All worked as expected.

Category: Visual Studio | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1469 | Hits: 5

Similar Posts

  • Generic WPF Drag and Drop Adorner more
  • Drag and Drop with Atlas: interfaces more
  • Tips for writing Debugger Visualizers in VS.NET 2005 more
  • Introduction to Drag And Drop with Atlas more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD