Visual Studio Editor in the Visual Studio 2010 and .NET Framework 4.0 CTP
Announcements
Welcome to Visual Studio 2010 Editor
Selma Ikiz - MSFTMSFTSaturday, October 25, 2008 12:56 AMHi,
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
Filtering and SortingUse these options to narrow down the question and discussion list.
- 08549

FORUM LOCKED: Please use the Visual Studio 2010 & .NET Framework 4 Beta 1 Forums
Alicia CalesMSFTWednesday, May 20, 2009 7:34 PM - 02883

How to Highlight Text in the Visual Studio 2010 Editor
Selma Ikiz - MSFTMSFTSunday, October 26, 2008 10:43 PM - 0304

Call Hierarchy absence [VB 2010]
Motaro Friday, November 13, 2009 7:43 AM - 0151

How can I Enable the Document Map Margin (rockscroll-like feature) in VS2010
JosephCooneyMVPWednesday, November 11, 2009 9:08 PM - 0152

Only Rename the class name between class and {...}
icecolder Friday, November 06, 2009 4:36 PM - 0147

Trying to create a work item on TFS 2010 Beta 2 fails with unsupported value in the Assigned To and Crreated By fields (TF20015) error.
Gideon Schaller Sunday, November 01, 2009 10:44 PM - 01757

Disable ClearType
Salva - From Spain Wednesday, May 20, 2009 3:47 PM - 22024

Visual Studio SDK and Visual Studio 2010
Matteo Garzulino Tuesday, May 19, 2009 8:15 AM - 11532

Beta 1 - side-by-side
Wally McClureMVPMonday, May 18, 2009 5:57 PM - 42713

VS.Net 2010 IDE Very Slow
Lennie De Villiers DG Monday, December 29, 2008 8:56 AM - 11552

Comments in bookmark
AlbertoC Thursday, April 16, 2009 8:47 AM - 32818

How to Add Syntax Coloring in the Visual Studio 2010 Editor
Selma Ikiz - MSFTMSFTSunday, October 26, 2008 10:41 PM - 44329

How to Adapt to the Visual Studio 2010 Editor
Selma Ikiz - MSFTMSFTSunday, October 26, 2008 10:53 PM - 12024

VS2008 Add Service Reference Issue
ShailendraSute Monday, November 17, 2008 6:11 AM - 22146

Experimental Hive Support
Joaquin Jares Monday, January 12, 2009 6:04 PM - 01697

Would like to put pictures or images in Visual Studio Editor.
Leo Violette Thursday, March 19, 2009 6:00 AM - 01563

Are there any plans for an ink analyzer for code languages?
element109 Tuesday, March 17, 2009 8:05 AM - 11716

IDE Extension samples
Bigsby Monday, February 16, 2009 12:30 PM - 11693

Force partial class to be in branch of main class
Guillermo.Marraco Tuesday, January 27, 2009 7:02 PM - 21753

Ctrl+Enter on block doesn't indent caret on new line
Joe MayoMVPThursday, January 15, 2009 5:48 PM

