Presentation is loading. Please wait.

Presentation is loading. Please wait.

Being Lazy Is An Art Form Visual Studio Plug-ins with DXCore Zi Makki –

Similar presentations


Presentation on theme: "Being Lazy Is An Art Form Visual Studio Plug-ins with DXCore Zi Makki –"— 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. IDTExtensibility2 You can implement Add-ins in any COM-consuming language such as Visual C++, Visual Basic, Visual C#, and so forth. Disadvantages Limited power Limited power Some classes have poor performance Some classes have poor performance Some methods are not thread-safe Some methods are not thread-safe

6 Visual Studio 2005 SDK (VSIP) Advantages Powerful Powerful Low-level Low-levelDisadvantages Steep learning curve Steep learning curve C++ knowledge required to exploit everything C++ knowledge required to exploit everything Managed interop assemblies are tied to VS versions Managed interop assemblies are tied to VS versions Can’t do basic things, like get mouse & paint events 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 Fewer lines of code Smarter event arguments Smarter event arguments Powerful methods and properties Powerful methods and properties Able to extend Visual Studio like no other: Flicker-free painting on the editor Flicker-free painting on the editor Mouse events Mouse events Keyboard events Keyboard events Plug-in binaries work in VS’02, VS’03 and VS’05

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

9 Ease vs Power Power Easy

10 What you need What you need to be able to carry out these demos is … DXCore (FREEEEEE!!!) 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 http://www.devexpress.com/dxcore http://www.devexpress.com/dxcore The DXCore is also shipped with: CodeRush for Visual Studio CodeRush for Visual Studio http://www.devexpress.com/coderush Refactor! 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 devexpress.public.dotnet.coderush at news.devexpress.com

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


Download ppt "Being Lazy Is An Art Form Visual Studio Plug-ins with DXCore Zi Makki –"

Similar presentations


Ads by Google