Skip to content

Fixed a reference and some typos in "Creating an Extension with an Editor Item Template" #862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can use item templates that are included in the Visual Studio SDK to create

- EditorClassifier1.cs contains the `EditorClassifier1` class.

- EditorClassifier1ClassificationDefinition.cs contains the `OEditorClassifier1ClassificationDefinition` class.
- EditorClassifier1ClassificationDefinition.cs contains the `EditorClassifier1ClassificationDefinition` class.

- EditorClassifier1Format.cs contains the `EditorClassifier1Format` class.

Expand All @@ -52,7 +52,7 @@ You can use item templates that are included in the Visual Studio SDK to create

- TextAdornment1.cs contains the `TextAdornment1` class.

- extAdornment1TextViewCreationListener.cs contains the `TextAdornment1TextViewCreationListener` class.
- TextAdornment1TextViewCreationListener.cs contains the `TextAdornment1TextViewCreationListener` class.

4. Build the project and start debugging. The experimental instance appears. If you open a text file, all the 'a' characters in the text are outlined in red against a blue background.

Expand Down Expand Up @@ -83,7 +83,7 @@ You can use item templates that are included in the Visual Studio SDK to create

1. In the **New Project** dialog box, expand **Visual C#** or **Visual Basic** and then click **Extensibility**. In the **Templates** pane, select **VSIX Project**. In the **Name** box, type `MarginExtension`. Click **OK**.

2. In the **Solution Explorer**, right-click the project node and select **Add / New Item**. Go to the Visual C# **Extensibility** node and select **Editor Viewport Adornment**. Leave the default file name (EditorMargin1.cs/vb).
2. In the **Solution Explorer**, right-click the project node and select **Add / New Item**. Go to the Visual C# **Extensibility** node and select **Editor Margin**. Leave the default file name (EditorMargin1.cs/vb).

3. There are two code files, as follows:

Expand Down