forked from DeagleGross/SharpCoachPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a85790
commit 06779a2
Showing
8 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/dotnet/ReSharperPlugin.SharpCoachPlugin.Ui/Pages/CoachSharpOptionsPage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using JetBrains.Application.UI.Options; | ||
using JetBrains.Application.UI.Options.Options.ThemedIcons; | ||
using JetBrains.Application.UI.Options.OptionsDialog; | ||
using JetBrains.IDE.UI.Options; | ||
using JetBrains.Lifetimes; | ||
using JetBrains.ReSharper.Feature.Services.Daemon.OptionPages; | ||
|
||
namespace ReSharperPlugin.SharpCoachPlugin.Ui.Pages | ||
{ | ||
[OptionsPage(Id, PageTitle, typeof(OptionsThemedIcons.EnvironmentGeneral), ParentId = CodeInspectionPage.PID)] | ||
public class CoachSharpOptionsPage : BeSimpleOptionsPage | ||
{ | ||
private const string Id = nameof(CoachSharpOptionsPage); | ||
private const string PageTitle = "CoachSharp Options Page"; | ||
|
||
private readonly Lifetime _lifetime; | ||
|
||
public CoachSharpOptionsPage( | ||
Lifetime lifetime, | ||
OptionsPageContext optionsPageContext, | ||
OptionsSettingsSmartContext optionsSettingsSmartContext) | ||
: base(lifetime, optionsPageContext, optionsSettingsSmartContext) | ||
{ | ||
_lifetime = lifetime; | ||
|
||
AddHeader("Sample header"); | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/dotnet/ReSharperPlugin.SharpCoachPlugin.Ui/ReSharperPlugin.SharpCoachPlugin.Ui.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net472</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="PresentationCore" /> | ||
<Reference Include="PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> | ||
<HintPath>C:\Users\deagl\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\PresentationFramework.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Xaml" /> | ||
<Reference Include="WindowsBase" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="JetBrains.Platform.Core.Shell" Version="211.0.20210716.95744" /> | ||
<PackageReference Include="JetBrains.Platform.Lib.VisualStudio.AnyVs.ShellInterop.PrivateBuild" Version="2.0.20141005.1" /> | ||
<PackageReference Include="JetBrains.Platform.UIInteractive.Shell" Version="211.0.20210722.90748" /> | ||
<PackageReference Include="JetBrains.Psi.Features.Core" Version="211.0.20210722.92107" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/rider/main/kotlin/com/jetbrains/rider/plugins/coachsharp/CoachSharpOptionsPage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.jetbrains.rider.plugins.coachsharp | ||
|
||
import com.jetbrains.rider.settings.simple.SimpleOptionsPage | ||
|
||
class CoachSharpOptionsPage : SimpleOptionsPage("CoachSharp Options", "CoachSharpOptionsPage") { | ||
override fun getId(): String { | ||
return "CoachSharpOptionsPage" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters