Commits

Nerzhul500 committed 8cb6f6f

Icon added

  • Participants
  • Parent commits ded5a3e
  • Branches resharper7

Comments (0)

Files changed (4)

 SpellCheckerPlugin.vsmdi
 Local.testsettings
 packages
+*.Generated.*

File ReSpeller/Img/icon.png

Added
New image

File ReSpeller/ReSpeller.csproj

     <Compile Include="Highlightings\StringLiteralTypoHighlighting.cs" />
     <Compile Include="Highlightings\TextRangeTypoHighlighting.cs" />
     <Compile Include="Highlightings\MarkupTextTypoHighlighting.cs" />
+    <Compile Include="Img\ThemedIcons.Img.Generated.cs" />
     <Compile Include="QuickFixes\TypoQuickFix.cs" />
     <Compile Include="Settings\ReSpellerSettings.cs" />
     <Compile Include="Settings\ReSpellerSettingsControl.xaml.cs">
       <Link>Hunspellx86.dll</Link>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <ThemedIconPng Include="Img\icon.png" />
   </ItemGroup>
   <PropertyGroup>
     <ReSharperSdkTargets Condition=" '$(ReSharperSdkTargets)' == '' ">$(MSBuildExtensionsPath)\JetBrains\ReSharper.SDK\v7.1</ReSharperSdkTargets>
   <Import Project="$(ReSharperSdkTargets)\Plugin.Targets" />
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
+  <Import Project="$(ReSharperSdkTools)\MSBuild\JetBrains.Build.Platform.ThemedIconsConverter.Targets" />
 </Project>

File ReSpeller/Settings/ReSpellerSettingsControl.xaml.cs

-using System.Windows.Controls.Primitives;
+using System.Windows;
+using System.Windows.Controls.Primitives;
 using JetBrains.Application;
 using JetBrains.DataFlow;
 using JetBrains.UI.CrossFramework;
   /// <summary>
   /// Interaction logic for ReSpellerSettingsControl.xaml
   /// </summary>
-  [OptionsPage("ReSpellerSettings", "ReSpeller", null, ParentId = EnvironmentPage.Pid, Sequence = 100)]
+  [OptionsPage("ReSpellerSettings", "ReSpeller", typeof(ImgThemedIcons.Icon), ParentId = EnvironmentPage.Pid, Sequence = 100)]
   public partial class ReSpellerSettingsControl : IOptionsPage
   {
     private readonly OptionsSettingsSmartContext myStore;