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

RSRP-469322: Quick fixes for deconstruction related compiler errors.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 18, 2018 10:00:24 PM
Updated Apr 18, 2018 10:00:24 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.033450-eap10d.

Would be nice to have QFs for

  1. CS8136: "Deconstruction 'var (...)' form disallows a specific type for 'var'". - Replace type with "var" keyword.
  2. CS8184: "a deconstruction cannot mix declarations and expressions on the left-hand-side." - Maybe give a choice either to combine all declarations in deconstruction or to split declarations.

RSRP-469323: Generate deconstructor: No letters highlighting in members list for CamelHumps search.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 18, 2018 10:20:19 PM
Updated Apr 18, 2018 10:35:29 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Minor
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.033450-eap10d.

    public abstract class MeasurementAttribute
    {
        public string SestString { get; set; }
        public string TessString { get; set; }
        public string TessStringNew { get; set; }
    }
  1. Invoke Generate Code -> Deconstructor.
  2. Type "TS" in search.

Actual result:
No letters highlighting (see screenshot).

Expected result:
'T' and 'S' letters are highlighted.

RSRP-469169: [Performance Report] Ultimate 2017.3.1 11.0 likely caused x seconds of unresponsiveness and slowdown

$
0
0
Reporter Kevin Beede (deverill) Kevin Beede (deverill)
Created Apr 9, 2018 5:39:38 PM
Updated Apr 18, 2018 11:47:53 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Waiting for Info
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2017.3.20171222.81241
Product: ReSharper, Version: 2017.3.20171222.81043
Time Zone: Eastern Standard Time

Description

Hi, I'm not sure when it started but Resharper is making VS 15.6.4 and .NET Framework 4.7.02556 dog-slow. It gives a warning when starting VS and remains slow throughout the entire development day. I have disabled Resharper and verified that is the cause.

Is there a fix for this? It is unusable as it is.

RSRP-467984: Add colors and formating to intellisens item tooltip

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Jan 17, 2018 2:44:36 PM
Updated Apr 19, 2018 12:18:26 AM
Subsystem IntelliSense (Code Completion)
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469324: no intellisense for bootbox

$
0
0
Reporter mehdi Ichkarrane (sosharp) mehdi Ichkarrane (sosharp)
Created Apr 19, 2018 12:23:01 AM
Updated Apr 19, 2018 12:23:01 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

I'm using resharper Ultimate 2017.3.5 in visual studio community 2017 on .Net 4.5.2 in my javascript file when i use bootbox i get the message 'use of an implicitly declared global variable' (check the image attached). I put the bootbox file manually in my scripts and import it in my BundleConfig "~/Scripts/bootbox.min.js", the bootbox dialog is working normally but i don't get any intellisense/auto-completion. I'm actually following a tutorial that's using bootbox and resharper where the intellisense is working fine.

RSRP-469251: EditorConfig overridden severities are not shown in the options window

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 13, 2018 10:35:46 AM
Updated Apr 19, 2018 12:39:55 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

The ReSharper options window doesn't hightligh overridden severity settings from EditorConfig files. It also doesn't show the EditorConfig value in a tooltip.

This applies both to severities from Rolyn settings like "csharp_style_var_for_built_in_types = false:suggestion" and to ReSharpers own settings like "resharper_arrange_static_member_qualifier_highlighting = hint".

Tested with 2018.1 EAP 8

RSRP-469264: NullReferenceException is thrown in JetBrains.ReSharper.UnitTestProvider.nUnit.v30.NUnitServiceProvider.GetRunStrategy(IUnitTestElement element)

$
0
0
Reporter Kelsie Kerchmar (kkerchmar) Kelsie Kerchmar (kkerchmar)
Created Apr 14, 2018 8:05:04 AM
Updated Apr 19, 2018 4:16:47 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

I have a project full of unit tests which is using the new VS2017 project format. The project targets 'net461'. This is significant because while this is a supported setup in VS2017, it is worth noting that the .NET Framework 4.6.1 project templates in VS2017 still use the old project format. Therefore, this exact setup has a high likelihood of not having been well-trodden compared to other arrangements, such as a .NET Core project using the new VS2017 project format, or a .NET Framework project using the old project format.

Here's what a simple project looks like that can repro the issue I'm about to describe:

<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net461</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="NUnit" Version="3.10.1" />
  </ItemGroup>
</Project>

For about half of my team (the other half is unaffected), when they attempt to run the NUnit3 tests using resharper in VS2017, they get a NullReferenceException in JetBrains.ReSharper.UnitTestProvider.nUnit.v30.NUnitServiceProvider.GetRunStrategy(IUnitTestElement element). The same issue occurs in the v26 nUnit provider; I originally had attempted to upgrade to a newer version of NUnit to see if it would resolve the issue, but it did not resolve it.

This is the decompiled code where the exception is thrown. I don't know until Monday when I can debug the exception which line is the offender:

public IUnitTestRunStrategy GetRunStrategy(IUnitTestElement element)
{
  IProject project = element.Id.Project;
  if (!project.IsDotNetCoreProject())
    return (IUnitTestRunStrategy) this.myRunStrategy;
  if (this.myDotNetCoreSdkResolver.GetVersion(project) < ImportantSdkVersions.VsTestVersion)
    return (IUnitTestRunStrategy) this.myDotNetTestRunStrategy ?? (IUnitTestRunStrategy) (this.myDotNetTestRunStrategy = (DotNetTestRunStrategy) this.mySolution.GetComponent<NUnitDotNetTestRunStrategy>());
  if (element.Id.TargetFrameworkId.IsNetCoreApp)
    return (IUnitTestRunStrategy) this.myDotNetVsTestRunStrategy ?? (IUnitTestRunStrategy) (this.myDotNetVsTestRunStrategy = (DotNetVsTestRunStrategy) this.mySolution.GetComponent<NUnitDotNetVsTestRunStrategy>());
  return (IUnitTestRunStrategy) this.myRunStrategy;
}

This method has some code that cares whether the project is a .NET Core project, and it seemed a little bit suspicious to me that the crash would happen specifically in a method that cares if the project is a .NET Core project, because it is not a .NET Core project, and I had a hunch that maybe the project was being erroneously treated as a .NET Core project, and maybe that was causing issues.

I'll have to wait until Monday to get access to one of my colleague's machines that is actually exhibiting the crash, but in the meantime, I used dotPeek decompiler and symbol server to debug this on my machine which is not exhibiting the crash, and I observed that the project is indeed erroneously being considered a .NET Core project.

The offending method calls JetBrains.ProjectModel.IsDotNetCoreProject, which returns true because DotNetCoreSDK is not null in the ProjectImpl.ProjectProperties. I traced the fact that DotNetCoreSDK is not null back to JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.GetOrCreateDescriptor. This method calls this.NeedsDotNetCoreSDK, which erroneously returns true. The expression in that method:

  return projectTypeGuid == CSharpProjectPropertiesFactory.ProjectKProjectTypeGuid || !projectLocation.ExtensionWithDot.Equals(".vcxproj", StringComparison.OrdinalIgnoreCase) && TargetFrameworkIdInProjectFile.Instance.GetTargetFrameworkIds(projectLocation).Any<TargetFrameworkId>();

evaluates to:

false || true && true

where the target framework ids result is just one entry, '.NETFramework,Version=v4.6.1'.

I believe the last part of this expression is the bug, because it is treating any target framework id having been set in the project as indicative of the project being a .NET Core project, which is not true, because the new VS2017 project format can be used for .NET Framework projects as well.

I created a .NET Framework project with the legacy project format and checked out how this same code played out, and indeed there are no target framework ids, and so that expression evaluates to 'false', confirming that this is where things are going awry.

At the end of the day, I don't yet know if this is what is causing the crash half my team is experiencing, and it will be Monday before I can get a debugger on the actual exception being thrown. But in the meantime, this seems like enough information to show that something isn't right here.

This issue was reproduced on multiple versions of ReSharper ultimate 2017, and the code snippets from above are decompiled from the 2017.3.5 (2018-03-23) build.

RSRP-469325: [Performance Report] Slow code typing

$
0
0
Reporter Daniels Danilins (danielsdanilins.1) Daniels Danilins (danielsdanilins.1)
Created Apr 19, 2018 11:07:57 AM
Updated Apr 19, 2018 11:07:58 AM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2018.1.20180414.71711
Product: ReSharper, Version: 2018.1.20180414.71556
Product: dotMemory, Version: 2018.1.20180414.71710
Time Zone: Mitteleuropäische Zeit

Description

During code typing process explorer show havy load on I/O from devenv.exe.
As soon as I stop typing the I/O drops and starts as soon as I start typing again.
Looks like I/O is on the UI Thread and makes typing slow. Sometimes it freezes IDE.

RSRP-466886: [Performance Report] Performance problem while editing TypeScript (2.5) in VS 2017 w/R# 2017.2, no node_modules

$
0
0
Reporter John Lusk (johnl4) John Lusk (johnl4)
Created Nov 1, 2017 7:19:01 PM
Updated Apr 19, 2018 11:21:18 AM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.15063.0
Product: dotTrace, Version: 2017.2.20171006.131127
Product: ReSharper, Version: 2017.2.20171006.123800
Product: dotMemory, Version: 2017.2.20171006.131009
Time Zone: Eastern Standard Time

Description

See community post at https://resharper-support.jetbrains.com/hc/en-us/community/posts/115000685650-ReSharper-2017-2-is-extremely-slow-when-editing-Typescript

RSRP-468639: [Performance Report] Slow text editing

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Mar 12, 2018 10:59:34 AM
Updated Apr 19, 2018 11:23:39 AM
Subsystem Language injection
Assignee Nikita Popov (poksh)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2018.1.20180306.123048-eap02
Product: ReSharperCpp, Version: 2018.1.20180306.123910-eap02
Product: ReSharper, Version: 2018.1.20180306.122857-eap02
Product: dotMemory, Version: 2018.1.20180306.123036-eap02
Time Zone: Jerusalem Standard Time

Description

RSRP-468729: [Performance Report] Slow text editing

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Mar 18, 2018 10:50:33 AM
Updated Apr 19, 2018 11:23:56 AM
Subsystem Language injection
Assignee Nikita Popov (poksh)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2018.1.20180306.123048-eap02
Product: ReSharperCpp, Version: 2018.1.20180306.123910-eap02
Product: ReSharper, Version: 2018.1.20180306.122857-eap02
Product: dotMemory, Version: 2018.1.20180306.123036-eap02
Time Zone: Jerusalem Standard Time

Description

Related to RSRP-468639

RSRP-467816: [Performance Report] Crash editing TypeScript file

$
0
0
Reporter Shawn Clabough (clabough) Shawn Clabough (clabough)
Created Jan 3, 2018 10:48:52 PM
Updated Apr 19, 2018 11:27:14 AM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2017.3.20171222.81241
Product: ReSharper, Version: 2017.3.20171222.81043
Time Zone: Pacific Standard Time

Description

I captured this just prior to where Visual Studio will crash every time. I'm just making minor changes to a large (900 lines) TypeScript file.

RSRP-469326: C# unit test Ignore spills into subsequent tests

$
0
0
Reporter Johan Lundberg (jmlundberg) Johan Lundberg (jmlundberg)
Created Apr 19, 2018 11:51:35 AM
Updated Apr 19, 2018 11:51:35 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the example below, only Test1 is set to be ignored, but at the start of the test session, as well as during test execution, also
test2, test3 is marked as Ignored, with the ignore text from Test0.

To reproduce, use the following code, and start the tests by clicking to run category "LongRunningX".




[TestFixture]
[Category("LongRunningX")]
internal class Test0
{
[Test]
public void Sleeper()
{
System.Threading.Thread.Sleep(10000);
}
}

[TestFixture]
[Ignore("IGNORE TEST TEXT")]
[Category("LongRunningX")]
internal class Test1
{
}

[TestFixture]
[Category("LongRunning")]
[Category("LongRunningX")]
internal class Test2 {
[Test]
public void Sleeper()
{
System.Threading.Thread.Sleep(10000);
}
}

[TestFixture]
[Category("LongRunningX")]
internal class Test3
{
}

RSRP-346335: Better documentation popup

$
0
0
Reporter Marcin Wiśnicki (Marcin.Wiśnicki) Marcin Wiśnicki (Marcin.Wiśnicki)
Created Mar 20, 2013 5:23:30 PM
Updated Apr 19, 2018 12:08:19 PM
Subsystem Quick Documentation Info
Assignee Mikhail Senkov (micha)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.1, 7.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Current documentation popup is a standard gray tooltip with contents of <summary> tag.

Please implement something more elaborate like http://www.jetbrains.com/idea/features/javadoc.html#link7

RSRP-469327: New inspections for Deconstruct methods.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 12:24:21 PM
Updated Apr 19, 2018 12:24:21 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.213521-eap10d.

Would be nice:

  1. if several Deconstruct methods in class have the same amount of parameters then suggest user to leave only one such method.
  2. if child Deconstruct method has the same amount of parameters as Parent/Extension one then warn that child Deconstruct overrides others.

RSRP-352898: NUnit Fakes - Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Apr 3, 2013 12:46:08 PM
Updated Apr 19, 2018 12:36:20 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have attached a solution which contains an example using both NUnit and MSTests.

From my testing, using either 7.1.1 or 7.1.2, the R# test runner fails using either NUnit or MSTest, the same error.

I downloaded the 7.1.3 beta, which works when using the R# in MSTest mode, but NUnit fails with the previous error.

Visual Studio test runner runs on all version (though I need to install the NUnit Test adapter VS extension, but I think that's beside the point).

In the UnitTest1.cs file, there's a #define statement that will let you switch between NUnit and MSTest.


Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException : UnitTestIsolation instrumentation failed to initialize. Please restart Visual Studio and rerun this test

RSRP-463014: Ignore unsupported projects in R# build

$
0
0
Reporter Dmitry Matveev (dmitry.matveev@jetbrains.com) Dmitry Matveev (dmitry.matveev@jetbrains.com)
Created Feb 9, 2017 1:20:23 PM
Updated Apr 19, 2018 12:38:12 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Feature
Fix version 2018.2
Affected versions 2018.1, 2016.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
https://www.jetbrains.com/help/resharper/2016.3/Building_Solution.html#comment-3145613280

Great functionality! But, can I suggest a "easy" improvement?. Please, make the "not supported projects" something to bypass, not something that disallows completely Resharper Build. For example, if I have a Web Site in my solution (I have one, in fact 8·D) allow me just to say Resharper to bypass this project, but work with the rest as if this one does not exists. Right now what I need to do, if I want to use Resharper build, is to create a partial solution without this project, that doesn't look like a good solution.

RSRP-469329: Generate deconstructor: Finish button is enabled when 1 member is selected.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 1:01:17 PM
Updated Apr 19, 2018 1:01:17 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Minor
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.213521-eap10d.

  1. Invoke Generate Deconstructor.
  2. Select 1 member.

Actual result:
Finish button is enabled.

Expected result:
Finish button is disabled.

RSRP-469328: Generate: Finish button looks enabled when actually disabled.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 12:57:41 PM
Updated Apr 19, 2018 1:06:43 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Minor
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.213521-eap10d.

  1. Invoke Generate Deconstructor.
  2. Inspect Finish button in dialog.

Actual result:
Finish button looks enabled (see screenshot).

Expected result:
Finish button looks disabled (like "Select none" button on screenshot).

RSRP-468698: [Performance Report] High cpu usage while typing

$
0
0
Reporter Pim Beenes (pim.beenes) Pim Beenes (pim.beenes)
Created Mar 15, 2018 2:13:20 PM
Updated Apr 19, 2018 1:18:51 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Waiting for Info
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotCover, Version: 2017.3.20180302.72821
Product: dotTrace, Version: 2017.3.20180302.72823
Product: ReSharper, Version: 2017.3.20180302.70613
Time Zone: W. Europe Standard Time

Description

Hello,

When I start typing in visual studio my cpu usage spikes up to 100% (i have a i7 7700HQ).

I have disabled alot of the extra features in visual studio as suggested in: https://www.jetbrains.com/help/resharper/Speeding_Up_ReSharper.html

Im hoping you guys have a magic fix.

Regards,

Pim
Viewing all 106942 articles
Browse latest View live


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