Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-404300: Support for SASS (.scss)

$
0
0
Reporter Greg Holmes (GHolmes) Greg Holmes (GHolmes)
Created Feb 11, 2014 7:20:05 PM
Updated Oct 22, 2018 1:47:57 PM
Subsystem CSS
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
It would be nice if ReSharper could do syntax highlighting / code completion / handle file changes for the mainstream CSS pre-processors like SASS and LESS.

Other JetBrains products already support CSS preprocessors, maybe some of what they have done can be leveraged to get this support into ReSharper.

Note: this request is related to /issue/RSRP-215161 (Support for LESS). I've only created this topic to ensure SASS gets attention as well.

RSRP-471758: Running an xUnit from xUnit.net Test icon (as opposed to xUnit.net Test Class icon) always ends up Inconclusive

$
0
0
Reporter Jacob Mojiwat (jmojiwat) Jacob Mojiwat (jmojiwat)
Created Oct 5, 2018 3:42:34 AM
Updated Oct 22, 2018 2:00:26 PM
Resolved Oct 22, 2018 1:52:45 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper 2018.3 EAP 4
VsVersion All Versions

Clicking the class level icon runner will run the tests, but clicking on the method level icon runner will return inconclusive.

Error returned by Resharper:

2018.10.05 08:34:05.678 ERROR JetBrains.Util.InternalErrorException: Unexpected: Unable to find any matching test cases
at JetBrains.ReSharper.UnitTestRunner.Xunit.TestRunner.Run(XunitTestAssemblyTask assemblyTask)

2018.10.05 08:34:05.698 WARN Element Testing was left pending after its run completion.
2018.10.05 08:34:05.698 WARN Element Test1 was left pending after its run completion.

Source code to reproduce the error:

public class Testing
{
    [Theory, TestAutoData]
    public void Test1(Multiplier sut)
    {
        var x = sut.Execute(1);
        x.Should().Be(2);
    }

    [Theory, TestAutoData]
    public void Test2(Multiplier sut)
    {
        var x = sut.Execute(1);
        x.Should().Be(2);
    }

    public class Multiplier
    {
        public int Execute(int i)
        {
            return i * 2;
        }
    }

    private class TestAutoDataAttribute : AutoDataAttribute
    {
        public TestAutoDataAttribute() : base(() => 
            new Fixture().Customize(new CompositeCustomization(new Customization(), new AutoNSubstituteCustomization())))
        {}
    }

    private class Customization : ICustomization
    {
        public void Customize(IFixture fixture)
        {
            fixture.Register(() => new Multiplier());
        }
    }
}

Using
Resharper 2018.2.3
Visual Studio 15.8.6

Compiling against .Net 4.7.2

RSRP-471894: .Net Core: Rename class should rename all associated resx files

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 5:57:13 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471895: .Net Core: Move refactoring applied to a class should rename all associated resx files

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 5:58:35 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471896: .Net Core: rename should accept whitespaces in resource name

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 6:00:26 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471899: .Net Core: make "class xxx" default value for "Find identical items in" in Move to Resource dialog

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 6:18:58 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471901: .Net Core: Support IHtmlLocalizer

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 7:26:31 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471902: .Net Core: Support IViewLocalizer

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 7:27:28 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471903: .Net Core: Support DataAnnotations localization

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 18, 2018 7:39:04 PM
Updated Oct 22, 2018 2:02:49 PM
Subsystem Localization (i18n, ResX)
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Task
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-471784: Testrunner behaves fishy combining TestFixtureSource and Values

$
0
0
Reporter Roger Kratz (rogerkratz) Roger Kratz (rogerkratz)
Created Oct 8, 2018 5:05:44 PM
Updated Oct 22, 2018 2:08:20 PM
Resolved Oct 22, 2018 2:08:15 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Fixed
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper 2018.3 EAP 4
VsVersion All Versions

Same problem as in Rider, reported here
https://youtrack.jetbrains.com/issue/RIDER-20422

RSRP-471728: System.TypeLoadException when running .Net Core NUnit tests, which target full .Net framework

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Oct 2, 2018 8:30:47 PM
Updated Oct 22, 2018 2:15:40 PM
Resolved Oct 22, 2018 2:15:40 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Tests run fine, but there is this error in the execution log:

2018.10.02 20:21:49.607 ERROR System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
System.TypeLoadException: Could not load type 'NUnit.Engine.NUnitEngineUnloadException' from assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb'.
 at NUnit.Engine.Services.DomainManager.DomainUnloader.Unload()
 at NUnit.Engine.Runners.TestDomainRunner.UnloadPackage()
 at NUnit.Engine.Runners.AbstractTestRunner.Dispose(Boolean disposing)
 at NUnit.Engine.Runners.AbstractTestRunner.Dispose()
 at NUnit.Engine.Runners.MasterTestRunner.Dispose(Boolean disposing)
 at NUnit.Engine.Runners.MasterTestRunner.Dispose()
 at JetBrains.ReSharper.UnitTestRunner.nUnit30.BuiltInNUnitRunner.<>c__DisplayClass6_0.<RunTests>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\UnitTesting\nUnit\Runner30\Src\BuiltInNUnitRunner.cs:line 134
 at JetBrains.ReSharper.UnitTestRunner.nUnit30.BuiltInNUnitRunner.WithExtensiveErrorHandling(IRemoteTaskServer server, Action action) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\UnitTesting\nUnit\Runner30\Src\BuiltInNUnitRunner.cs:line 942

RSRP-471937: False Positive setter struct property

$
0
0
Reporter Scellow Dev (scellow33) Scellow Dev (scellow33)
Created Oct 20, 2018 3:46:55 PM
Updated Oct 22, 2018 2:21:35 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Hello

I have the following code:



Rider reports it as wrong code, but it actually compile and is valid code

https://github.com/mellinoe/ImGui.NET/blob/master/src/ImGui.NET/Generated/ImGuiIO.gen.cs#L130

RSRP-471938: One or more errors occurred. Object reference not set to an instance of an object.

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Oct 22, 2018 2:30:29 PM
Updated Oct 22, 2018 2:31:21 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _69eb6bd4 — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181015.10531-eap03d

JetBrains dotMemory 2018.3 EAP 3 D Build 2018.3.20181015.144824-eap03d
JetBrains dotTrace 2018.3 EAP 3 D Build 2018.3.20181015.145024-eap03d
JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181015.144659-eap03d
JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181015.144658-eap03d

One or more errors occurred. Object reference not set to an instance of an object.

— EXCEPTION #1/3 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath.1 = Root.InnerException.InnerException
ExceptionPath.2 = Root.InnerException.InnerExceptions.#0
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.Impl.Search.LibraryUsageSearchHelper`1.CheckForEnumValue(AttributeValue positionParameter, IDeclaredElement target)
 at JetBrains.ReSharper.Psi.Impl.Search.LibraryUsageSearchHelper`1.CheckForEnumValue(AttributeValue positionParameter, IDeclaredElement target)
 at JetBrains.ReSharper.Psi.Impl.Search.LibraryUsageSearchHelper`1.ProcessAssemblyAttributes()
 at JetBrains.ReSharper.Psi.Impl.Search.LibraryUsageSearchHelper`1.ProcessLibrary()
 at JetBrains.ReSharper.Psi.Impl.Search.LibraryUsageSearchHelper`1.Run()
 at JetBrains.ReSharper.Psi.Impl.Search.ReferenceSearchProcessor.ProcessLibraryFile[TResult](IPsiAssemblyFile libraryFile, IFindResultConsumer`1 consumer)
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderSearchDomainVisitor`1.<>c__DisplayClass23_0.<VisitAssembly>b__0()
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()


— Outer —

— EXCEPTION #2/3 [AggregateException]
Message = “One or more errors occurred.”
ExceptionPath = Root.InnerException
ClassName = System.AggregateException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Core
InnerExceptions.#0 = “Exception #1 at Root.InnerException.InnerException”
StackTraceString = “
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
 at JetBrains.Util.SafeDisposable.DisposeInternal()
 at JetBrains.Util.SafeDisposable.Dispose()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderSearchDomainVisitor`1.Run()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.Impl.FindReferencesOperation`1.Find()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.State.Run()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationBase.DoWork()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationBase.Start()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.Impl.FindOperation`1.SearchReferences()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.State.Run()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationBase.DoWork()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationBase.Start()
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.ActivityRun(FinderOperationRequest request)


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “One or more errors occurred.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #4”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181015.10531-eap03d”
Data.SubProducts.#0 = “JetBrains dotTrace 2018.3 EAP 3 D Build 2018.3.20181015.145024-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181015.144658-eap03d”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181015.144659-eap03d”
Data.SubProducts.#3 = “JetBrains dotMemory 2018.3 EAP 3 D Build 2018.3.20181015.144824-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::619e3538c392f367334ac14a813496af6e5b794b


Platform\VisualStudio:
    git::refs/heads/183::2342d0f2742fc7c13eee5a50020535d8323669b9

Data.VsVersion = 15.8.28010.0
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.ActivityRun(FinderOperationRequest request)
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.ActivityRun(FinderOperationRequest request)
 at JetBrains.ReSharper.Psi.Impl.Search.Operations.FinderOperationManager.<>c__DisplayClass8_0.<AfterAllDocumentsAreCommited>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #6.JetPool(S) #4(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

RSRP-471939: Exception in tests when change default json serializer settings

$
0
0
Reporter Ludvík Prouza (Ludvík.Prouza) Ludvík Prouza (Ludvík.Prouza)
Created Oct 22, 2018 10:54:16 AM
Updated Oct 22, 2018 2:36:05 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Change default json serializer settings DateFormatHandling to DateFormatHandling.MicrosoftDateFormat in OneTimeSetUp cause exception in test run.
This test projet target net471 and netcoreapp2.1.
It only happens if I run tests for both frameworks at once.
I tried to make a simple example, but without success.

Version: RD-182.4231.496
Timezone: Europe/Prague
Evaluation: false
Environment: RD-182.4231.496, JRE 1.8.0_152-release-1248-b8x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900
Logs: https://dotnet-ea.services.jetbrains.com/files/so-attachments/4f741c81-ad68-4aa5-b42d-0cd4837db8f9/rider-logs-attachment.tar.xz

RSRP-471010: Rename Related Symbols: scroll to the bottom does not make parameters visible when dialog has minimal height.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Aug 10, 2018 11:32:13 AM
Updated Oct 22, 2018 2:38:53 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.2.EAP8D.Checked.(182.0.20180810.64421-eap08d).

Scroll to the bottom does not make parameters visible when dialog has minimal height:

Probably relates to RSRP-469818 .


RSRP-471940: Last parameter is partially visible during change signature if there're 8 parameters

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 22, 2018 2:36:17 PM
Updated Oct 22, 2018 2:38:53 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper 2018.3 EAP3

public void Test(int a, int b, int c, int v, int n, int y, int u, int i)
{
}

RSRP-470936: TaskExecutorConfiguration.NumberOfParallelTests setting is ignored for .NET Core tests

$
0
0
Reporter Anna Guseva (Anna.Guseva) Anna Guseva (Anna.Guseva)
Created Aug 6, 2018 3:39:52 PM
Updated Oct 22, 2018 2:51:26 PM
Resolved Oct 22, 2018 2:51:26 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
It affects "Run under dotMemory Unit" tests.

RSRP-435469: Tooltips don't respect VS font settings

$
0
0
Reporter Matt Ellis (citizenmatt) Matt Ellis (citizenmatt)
Created Mar 17, 2015 8:17:29 PM
Updated Oct 22, 2018 3:00:32 PM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If I change the "Editor Tooltip" font details in Visual Studio's options, the ReSharper tooltips do not use this font. Particularly noticeable when giving product demos.

RSRP-471283: Incorrect 'Expression is Always true' message

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 28, 2018 4:38:52 PM
Updated Oct 22, 2018 3:09:03 PM
Resolved Oct 22, 2018 3:09:02 PM
Subsystem Code Analysis
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I am using c# 7, VS 2017, .net 4.6

I am using the new C# 7 method syntax, to encapsulate the result of multiple funtions,

I get a warning saying finished expression is always true.

protected override Tuple<object, bool> InterpolateFromFrames(KeyTime<SKColor> from, KeyTime<SKColor> to) 
{
float dt = EndTime - StartTime;
float it = dt * from.Time;
float jt = dt * to.Time;
bool finished = true;

byte InterpolateProperty(Func<SKColor, byte> predicate)
{
float fr = predicate(from.Value);
float tr = predicate(to.Value);

var r = LinealInterpolation(fr, tr, it, jt);

finished = finished && r.Finished;

return (byte) r.Result;
}

return new Tuple<object, bool>( // result, finished
new SKColor(
InterpolateProperty(c => c.Red),
InterpolateProperty(c => c.Green),
InterpolateProperty(c => c.Blue),
InterpolateProperty(c => c.Alpha)),
finished);
}

RSRP-465732: 'Create Razor View' QF creates view in a wrong place in a .Net Core 2.0 application with Model-View-Controller structure

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Aug 2, 2017 6:26:23 PM
Updated Oct 22, 2018 3:29:25 PM
Subsystem ASP.NET - MVC
Assignee Slava Trenogin (derigel)
Priority Major
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The view is created under 'Pages' folder when it should be under 'Views'
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>