Skip to content

fix code snippet language tags #4191

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 1 commit into from
Oct 18, 2019
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 @@ -18,7 +18,7 @@ You can use the settings store to find all available services or to determine wh

2. In *FindServicesCommand.cs*, add the following using directives:

```vb
```csharp
using System.Collections.Generic;
using Microsoft.VisualStudio.Settings;
using Microsoft.VisualStudio.Shell.Settings;
Expand All @@ -27,7 +27,7 @@ You can use the settings store to find all available services or to determine wh

3. Get the configuration settings store, then find the subcollection named Services. This collection includes all the available services. In the `MenuItemCommand` method, remove the existing code and replace it with the following:

```
```csharp
private void MenuItemCallback(object sender, EventArgs e)
{
SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider);
Expand Down Expand Up @@ -57,7 +57,7 @@ You can use the settings store to find all available services or to determine wh

1. In the MenuItemCallback of the project you created in the previous procedure, search the configuration settings store for the `Services` collection that has the subcollection named by the GUID of the service. In this case we will look for the Help service.

```
```csharp
private void MenuItemCallback(object sender, EventArgs e)
{
SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider);
Expand Down