1 / 19

Being Lazy Is An Art Form

Being Lazy Is An Art Form. Visual Studio Plug-ins with DXCore Zi Makki – http://www.zimakki.com/blog. Agenda. Other ways to extend Visual Studio DXCore Demos writing DXCore plug-ins. Other ways of extending VS. Macros Add-ins and Wizards

janae
Download Presentation

Being Lazy Is An Art Form

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Being Lazy Is An Art Form Visual Studio Plug-ins with DXCore Zi Makki – http://www.zimakki.com/blog

  2. Agenda • Other ways to extend Visual Studio • DXCore • Demos writing DXCore plug-ins

  3. Other ways of extending VS • Macros • Add-ins and Wizards • Visual Studio 2005 SDK (formerly known as the Visual Studio Industry Partner (VSIP) program) • DXCore

  4. Macros • Easy access (if you’re a VB programmer) • Record/Playback • Long load time if VB language service isn’t loaded yet. • I’m not a VB Programmer.

  5. Add-ins and Wizards • More powerful than macros • Wizards to get you started • COM objects that implement the IDTExtensibility2 interface and communicate with the IDE through the core automation object model. • You can implement Add-ins in any COM-consuming language such as Visual C++, Visual Basic, Visual C#, and so forth. • Disadvantages • Limited power • Some classes have poor performance • Some methods are not thread-safe

  6. Visual Studio 2005 SDK (VSIP) • Advantages • Powerful • Low-level • Disadvantages • Steep learning curve • C++ knowledge required to exploit everything • Managed interop assemblies are tied to VS versions • Can’t do basic things, like get mouse & paint events

  7. DXCore • Nearly as powerful as VSIP • Easier than a VS Add-in • Fewer lines of code • Smarter event arguments • Powerful methods and properties • Able to extend Visual Studio like no other: • Flicker-free painting on the editor • Mouse events • Keyboard events • Plug-in binaries work in VS’02, VS’03 and VS’05

  8. The DXCore Manages: Actions Text Expansion Shortcuts Events Context Options Source Model Discoverability DXCore architecture DXCore Visual Studio

  9. Ease vs Power Easy Macros DXCore Add-ins VSIP Power

  10. What you need • What you need to be able to carry out these demos is … • DXCore (FREEEEEE!!!)

  11. Demo agenda • Demo 1: Simple Action • Demo 2: Simple Action with Parameters • Demo 3: Tool bar • Demo 4: Unused variables.

  12. Demo 1: Simple Action

  13. Demo 2: Simple Action with Parameters

  14. Demo 3: Tool bar

  15. Demo 4: Unused variables

  16. DXCore summary • Super easy to use • Very powerful • Works in VS’02 – VS’05 • FREE DOWNLOAD!!!

  17. DXCore availability • Free Download is here: • http://www.devexpress.com/dxcore • The DXCore is also shipped with: • CodeRush for Visual Studio • http://www.devexpress.com/coderush • Refactor! • http://www.devexpress.com/refactor

  18. Resources • VSIP & Extensibility Model: http://msdn.microsoft.com/vstudio/extend/ • DXCore Download: http://www.devexpress.com/DXCore • DXCore Support Newsgroup: • devexpress.public.dotnet.coderush at news.devexpress.com

  19. DXCore training videos • MSDN: http://shrinkster.com/cqk • dnrTV: http://dnrtv.com/default.aspx?showID=5 • DX TV: • http://www.devexpress.com/CodeRushTraining

More Related