Commits

Nerzhul500 committed 01e0c6e

Highlighting overlap changed to NONE

Comments (0)

Files changed (12)

ReSpeller.RSTests/ReSpeller7.1.RSTests.csproj

     <Reference Include="WindowsBase" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="TypoQuickFixTest.cs" />
     <Compile Include="VBasicHighlightingsTest.cs" />
     <Compile Include="XmlHighlightingsTest.cs" />
     <Compile Include="CSharpHighlightingsTest.cs" />

ReSpeller.RSTests/TypoQuickFixTest.cs

-using JetBrains.ReSharper.Feature.Services.Bulbs;
-using JetBrains.ReSharper.Intentions.CSharp.QuickFixes.Tests;
-using JetBrains.ReSharper.Intentions.Extensibility;
-using NUnit.Framework;
-
-namespace ReSpeller.RSTests
-{
-#warning Replace 'IQuickFix' with your quick-fix name
-  [TestFixture]
-  public class TypoQuickFixTestTest : CSharpQuickFixTestBase<IQuickFix>
-  {
-    protected override string RelativeTestDataPath
-    {
-      get { return @"Path\To\Test\File"; }
-    }
-
-    [Test]
-    public void Test()
-    {
-      DoTestFiles("test01.cs");
-    }
-  }
-}

ReSpeller.RSTests/VBasicHighlightingsTest.cs

 using JetBrains.Application.Settings;
 using JetBrains.ReSharper.Daemon;
-using JetBrains.ReSharper.Daemon.CSharp;
 using JetBrains.ReSharper.DaemonTests.VB;
 using NUnit.Framework;
 using ReSpeller.Highlightings;

ReSpeller.RSTests/test/data/Highlightings/VBasic/Field.vb

 Module TestModule
 
-    Private myWrongwordField As String
+    Private _wrongwordField As String
 
 End Module

ReSpeller.RSTests/test/data/Highlightings/VBasic/Field.vb.gold

 Module TestModule
 
-    Private _wrongwordField As String
+    Private _|wrongword|(0)Field As String
 
 End Module
 
 ---------------------------------------------------------
+(0): ReSharper Suggestion: Typo in identifier: "wrongword"

ReSpeller.RSTests/test/data/Highlightings/VBasic/Local.vb.gold

     End Sub
 
     Function MyFunc() As String
-        Dim super|Wrongword|Int = 2
+        Dim super|Wrongword|(1)Int = 2
     End Function
 End Module
 

ReSpeller/Highlightings/CommentTypoHighlighting.cs

-using System.Collections.Generic;
 using JetBrains.DocumentModel;
 using JetBrains.ReSharper.Daemon;
 
 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.WARNING,
+    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class CommentTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/IdentifierTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.WARNING,
+    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class IdentifierTypoHighlighting : IHighlighting
   {

ReSpeller/Highlightings/MarkupAttributeTypoHighlighting.cs

-using System.Collections.Generic;
 using JetBrains.DocumentModel;
 using JetBrains.ReSharper.Daemon;
 
 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.WARNING,
+    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class MarkupAttributeTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/MarkupTextTypoHighlighting.cs

-using System.Collections.Generic;
 using JetBrains.DocumentModel;
 using JetBrains.ReSharper.Daemon;
 
 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.WARNING,
+    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class MarkupTextTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/StringLiteralTypoHighlighting.cs

-using System.Collections.Generic;
 using JetBrains.DocumentModel;
 using JetBrains.ReSharper.Daemon;
 
 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.WARNING,
+    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class StringLiteralTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/TextRangeTypoHighlighting.cs

-using System.Collections.Generic;
 using JetBrains.DocumentModel;
 using JetBrains.ReSharper.Daemon;
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.