MSDN > 論壇首頁 > Visual Studio Editor in the Visual Studio 2010 and .NET Framework 4.0 CTP
發問發問
 

這個論壇已經鎖定並設為唯讀模式。Visual Studio Editor in the Visual Studio 2010 and .NET Framework 4.0 CTP

公告

  • Welcome to Visual Studio 2010 Editor

    Selma Ikiz - MSFTMSFT2008年10月25日 上午 12:56
     

    Hi,

    my name is Selma Ikiz and I am a PM for the New Code Editor in Visual Studio.

    We have devised a set of walkthroughs for you in this Visual Studio 10 release. Please use the walkthroughs as a hand-held guide to use this release. Given that this is the first release of Code Editor in Visual Studio, we are excited to hear your feedback. 

    You can use the Connect website to report bugs.

    This forum will cover the Code Editor Walkthroughs: 

    How to Use a Shell Command to Add a Comment Adornment in the Visual Studio 2010 Editor

    You can implement features in the Visual Studio 2010 editor from a typical VSPackage. This walkthrough shows how to add a comment adornment to a text view in the Visual Studio 2010 editor by invoking a Visual Studio shell command.

    How to Add Syntax Coloring in the Visual Studio 2010 Editor

    You can add many different visual effects to the Visual Studio 2010 editor by creating Managed Extensions Framework (MEF) components. This walkthrough shows how to add syntax coloring.

    How to Highlight Text in the Visual Studio 2010 Editor

    You can add many different visual effects to the Visual Studio 2010 editor by creating Managed Extensibility Framework (MEF) components. This walkthrough shows how to highlight every occurrence of a string in a text file at the same time. For example, if a word occurs more than one time in a text file, and you position the cursor in one occurrence, every occurrence is highlighted.

    How to Provide IntelliSense in the Visual Studio 2010 Editor

    You can implement IntelliSense in the Visual Studio 2010 editor by creating a Managed Extensibility Framework (MEF) component.

    This walkthrough shows how to implement two IntelliSense controllers, one for method signature descriptions and one for statement completion. IntelliSense controllers are responsible for listening to the events that trigger completion, displaying the appropriate list, and removing the display when it is committed (that is, when a selection has been made) or dismissed. This walkthrough also shows how to implement IntelliSense controller providers, which create the IntelliSense controllers for individual text views.

    When you run the sample code, pressing CTRL+J or "." shows the list of methods; you can dismiss the list by pressing ESC. Pressing CTRL+SHIFT+SPACEBAR or "(" shows the list of parameters; you can dismiss the list by pressing ESC. The displayed lists of methods and parameters are static lists that are defined in the Helpers class.

    How to Adapt to the Visual Studio 2010 Editor

    The Visual Studio 2010 editor offers many features that you can use from your existing code components. These instructions show how to consume editor services directly from a Managed Extensibility Framework (MEF) component or a non-MEF component, for example a VSPackage. It also shows how to use adapters, or shims, to get the services of the Visual Studio 2010 editor in both managed and unmanaged code.

     

    If you have not downloaded or would like more information about the CTP, please visit http://go.microsoft.com/fwlink/?LinkId=129231.  

    You can find the walkthroughs  on the VPC disk: C:\users\Public\documents\CTPWalkthroughs\Visual Studio.

     

    Thanks!

    Selma Ikiz

    Code Editor PM

     

123>>(顯示 46 中的 1 至 20 項)
回覆檢視