-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathAIStudioPackage.cs
24 lines (23 loc) · 1.12 KB
/
AIStudioPackage.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
global using Community.VisualStudio.Toolkit;
global using Microsoft.VisualStudio.Shell;
global using System;
global using Task = System.Threading.Tasks.Task;
using System.Runtime.InteropServices;
using System.Threading;
namespace AI_Studio
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration(Vsix.Name, Vsix.Description, Vsix.Version)]
[ProvideMenuResource("Menus.ctmenu", 1)]
[Guid(PackageGuids.AI_StudioString)]
[ProvideOptionPage(typeof(OptionsProvider.GeneralOptions), "AI Studio", "General", 0, 0, true, SupportsProfiles = true)]
[ProvideOptionPage(typeof(OptionsProvider.UnitTestsOptions), "AI Studio", "Unit Test", 1, 1, true, SupportsProfiles = true)]
[ProvideOptionPage(typeof(OptionsProvider.CommandsOptions), "AI Studio", "Commands", 2, 2, true, SupportsProfiles = true)]
public sealed class AIStudioPackage : ToolkitPackage
{
protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress)
{
await this.RegisterCommandsAsync();
}
}
}