Extend Visual Studio 2010

1,543 views

Published on

Customizing Visual Studio has never been easier and is often overlooked as a potential development time-saver! Visual Studio supports a number of quick ways to extend without any code and when task gets tougher the addition of Managed Extensibility Framework (MEF) and the new VSIX packaging model allows code based solutions to be easily developed! Come to this demo-heavy session to see how you can take advantage of the different forms of extensibility and use them to improve your Visual Studio experience.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,543
On SlideShare
0
From Embeds
0
Number of Embeds
229
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 1min
  • 2min
  • Snippet ManagerSnippet Designer// 5min
  • Snippet ManagerSnippet Designer// 5min
  • Snippet ManagerSnippet Designer// 5min
  • Snippet ManagerSnippet Designer// 5min
  • Snippet ManagerSnippet Designer// 5min
  • Extend Visual Studio 2010

    1. 1. Extend Visual Studio 2010<br />Presented by Robert MacLean  @rmaclean<br />
    2. 2. Assumptions of this talk<br />Level 200<br />Assume you have used VS<br />Assume you are a developer<br />
    3. 3. Agenda<br />What extending means? <br />Where it goes beyond configuration!<br />Start at level 100<br />Snippets (little demo) & Templates (little demo) <br />Move to level 200<br />MEF (little demo)<br />Finish off in level 300ish<br />Extensions (big demo)<br />Add-ins (little demo)<br />
    4. 4. Not covered today<br />Diagram & Arch extensions<br />Requires Ultimate<br />UML - Just XML additions<br />Arch tools - MEF<br />
    5. 5. Problem<br />Often typing the same code over and over again<br />Complex patterns hard to remember<br />
    6. 6. Demo<br />Snippets: How to use and how they work<br />Shortcut fail<br />
    7. 7. Snippet Summary<br />Simple reusable chunks of code<br />Snippet manager for sharing <br />Designer exists<br />
    8. 8. Problem<br />Often typing the same code over and over again<br />Set up on new work is time consuming<br />I wish everyone on my team did things correctly from the start<br />Complex patterns hard to remember<br />
    9. 9. Demo<br />Project Templates<br />
    10. 10. Template Summary<br />Easy to build solutions to save some time<br />Simple, too simple, deployment model<br />Microsoft extension for making VSIX easily<br />VERY extensible with the wizard interface<br />
    11. 11. VSIX Summary<br />What it can’t do:<br />Write to registry<br />Add to GAC<br />Prompt user<br />Party trick: Integrated Visual Studio Gallery Experience<br />Other deployment options:<br />Executable formats (msi/exe)<br />
    12. 12. Problem<br />Need a way to loosely couple together components at runtime<br />
    13. 13. Demo<br />Managed Extensibility Framework<br />
    14. 14. MEF Summary<br />Way to compose parts, like plugins or addins<br />PARTS of Visual Studio support this<br />
    15. 15. Problem<br />Need to enhance the Visual Studio IDE<br />Syntax highlighting for my new language<br />Want to do some visual cues to improve productivity<br />
    16. 16. Extension Class Structure<br />Definition<br />Tells Visual Studio that we creating a custom definition<br />Provider<br />Tells Visual Studio that this exists and what it is for (classifier)<br />Formatter<br />How would we like our code to be formatted<br />Classifier<br />Tells Visual Studio what text this applies to<br />
    17. 17. Demo<br />Visual Studio Extensions<br />
    18. 18. Extensions Summary<br />Awesome for rich experiences<br />Easy to build – just need to navigate the complex documentation<br />Limited scope<br />THIS is the growth point for VS 11<br />
    19. 19. Problem<br />Need to enhance the Visual Studio IDE beyond extensions<br />Need menu items and/or custom tool windows<br />Need my own editor<br />
    20. 20. Demo<br />Visual Studio Add-Ins<br />
    21. 21. Add-ins & Packages Summary<br />FULL power experience<br />Better documented (been around longer)<br />
    22. 22. Summary<br />No Code<br />What you want likely already exists in the gallery!<br />Snippets<br />Templates<br />Code<br />Extensions powered by MEF<br />Add-ins are full power<br />
    23. 23. Thank YOU!<br />Robert MacLean<br />www.sadev.co.za (slides + demo scripts)<br />@rmaclean<br />

    ×