2.4. Customization of IDE

VS2010 allows you to create much more advanced customizations than changing the start page or creating snippets. VS2010 has been written from the ground up for extensibility and customization.

  • Screens have been rewritten in WPF and managed code.

  • The IDE API has been refactored for easier use.

  • The IDE API is fully documented.

  • New immutable text snapshots make it easier to obtain accurate snapshots of the text editor.

Many areas of the IDE can be overridden by creating a MEF component (I will talk about MEF shortly).

So, what can you customize? VS2010 allows you to customize the following areas, among other things:

  • Margins and scrollbars

  • Tags

  • Adornments (items painted on the editor surface)

  • Mouse processors

  • Drop handlers

  • Options

  • IntelliSense and the debugger

Before you can perform any of these customizations, however, you will first need to download and install the Visual Studio SDK (http://www.microsoft.com/downloads/details.aspx?FamilyID=cb82d35c-1632-4370-acfb-83c01c2ece24&displaylang=en).

Extensions in VS2010 make heavy use of a new technology called MEF. Before you create any customizations, however, you need to understand a bit about MEF.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.17.139