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

RSRP-461461: Broken "To string.Format invocation" refactoring

$
0
0
Reporter Martin Suchan (Martin.Suchan) Martin Suchan (Martin.Suchan)
Created Oct 27, 2016 1:52:53 PM
Updated Apr 18, 2018 4:58:43 PM
Subsystem Context Actions
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2016.2.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
If I have string concatenation expression like this:
string result = string1 + string2;
and I use the context menu "To string.Format invocation" refactoring with cursor on the +, the result expression is different than the expected one, see the gif below:

Current result
string.Format("{0}{0}", string1, string2);

Expected result:
string.Format("{0}{1}", string1, string2);
100% repro in VS2015, Windows 10, UWP project.

Btw. I'd appeciate if there was "To interpolated string" context menu operation as well, so I don't have to go through two steps.

RSRP-469266: Add inheritdoc CA should have lower priority

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Apr 14, 2018 11:56:34 PM
Updated Apr 18, 2018 5:20:25 PM
Resolved Apr 18, 2018 5:20:25 PM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
See screenshot:
Move to Derived.cs is much more usable in this context.


public class Derived : Base
{
}
public class Base
{
private Derived a = new Derived();
}

RSRP-468975: Support: CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported (23, 9)

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Mar 29, 2018 1:58:05 PM
Updated Apr 18, 2018 5:20:29 PM
Resolved Apr 18, 2018 5:20:29 PM
Subsystem Code Analysis - C#
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Fixed
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Project 1 (with ValueTuple reference)
namespace App1
{
public static class Program
{
public static (int, int) Method()
{
return (1, 1);
}
}
}
Project 2 (no ValueTuple reference)
namespace App2
{
class Program
{
static void Main(string[] args)
{
var (item1, item2) = App1.Program.Method();
}
}
}

RSRP-469314: Resharper ultimate not effective for dotcover, dottrace etc.

$
0
0
Reporter Nabeel Naqvi (simunaqv) Nabeel Naqvi (simunaqv)
Created Apr 18, 2018 5:43:30 PM
Updated Apr 18, 2018 5:43:30 PM
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 have an active Resharper Ultimate licence but only the Visual Studio integration is active. The other products in the Ultimate bundle such as dottrace, dotcover etc. are appearing as evaluation versions. This happened after Resharper upgraded to to newer version. Before this all products were working fine.

RSRP-469315: Add a license key automatically in "License Information" dialog

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Apr 18, 2018 5:46:02 PM
Updated Apr 18, 2018 5:46:24 PM
Subsystem Licensing and Evaluation
Assignee Sergey Kuks (coox)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
That Add button is a little unintuitive. I expected that after browsing for a license key, since my selection was not rejected, it would just be added automatically.


RSRP-469316: InspectCode does not use .editorconfig files

$
0
0
Reporter Ferenc Vizkeleti (vizkeletiferenc) Ferenc Vizkeleti (vizkeletiferenc)
Created Apr 18, 2018 5:49:23 PM
Updated Apr 18, 2018 5:49:23 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

I have a solution-level team-shared dotsettings file with code inspection configurations. There are a couple of .editorconfig files in the solution that override some settings of the dotsettings file.
It works fine in Visual Studio: shows the issues with the configured severity levels and uses the .editorconfig files correctly.
But when running InspectCode (ResharperCLT) for the same solution it seems to use only the dotsettings file and ignores the settings in the .editorconfig files.

RSRP-451500: cancelled build is marked as failed

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Dec 2, 2015 4:57:44 PM
Updated Apr 18, 2018 6:05:31 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When you cancel build some projects are marked as failed. It would be better to mark them with another color and state since they are not actually failed.

RSRP-462033: disable or hide Restore NuGet packages button in VS 2010 since it does nothing

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Dec 2, 2016 4:43:12 PM
Updated Apr 18, 2018 6:08:30 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Corresponding options should be disabled as well

RSRP-462034: Close Build results window when solution is closed

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Dec 2, 2016 4:44:44 PM
Updated Apr 18, 2018 6:08:51 PM
Resolved Apr 18, 2018 6:08:51 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Fixed
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-460233: Resharper 2016 build error for NVIDIA Cuda

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 11, 2016 11:09:54 AM
Updated Apr 18, 2018 6:08:59 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
After installing resharper 2016, the resharper build is not working anymore on one of my projects. It says :

fatal error : Don't know what to do with '(FullPath)'
: error MSB3721: The command ""nvcc.exe" .... -o D:\path\%(Filename)%(Extension).obj "%(FullPath)" -clean" exited with code -1

It works fine with resharper 10. I think that the new version cannot interpret msbuild variables.


https://developer.nvidia.com/cuda-downloads

RSRP-450651: possible to set the same project to be always and never built

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Nov 11, 2015 3:39:46 PM
Updated Apr 18, 2018 6:11:34 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If a project is selected in the Always build pane it should be automatically unchecked in the Never build pane and vice versa.

RSRP-463230: Enable Navigation from Output window to source code

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Feb 22, 2017 5:44:10 PM
Updated Apr 18, 2018 6:12:08 PM
Resolved Apr 18, 2018 6:12:08 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Fixed
Type Feature
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the context menu in Output window there are items to navigate to source code. But they are disabled when R# builder is used.

RSRP-469319: Specify type explicitly: produces uncompilable code for deconstructed type in foreach.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 18, 2018 6:24:48 PM
Updated Apr 18, 2018 6:27:22 PM
Subsystem Context Actions
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Critical
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.033450-eap10d.

PersonBase.cs

    public class PersonBase
    {
        public string Name;
        public int Phone;

        public void Deconstruct(out string name, out int phone)
        {
            name = Name;
            phone = Phone;
        }
    }

Class1.cs

    public class Class1
    {
        private void Test(int i)
        {
            foreach (var (s2, i1) in new List<PersonBase>())
            {
                
            }
        }
    }
  1. Invoke CA "Specify type explicitly" on var.

Actual result:
Uncompilable code:

            foreach (PersonBase (s2, i1) in new List<PersonBase>())
            {
                
            }

Expected result:
Compilable code:

            foreach ((string s2, int i1) in new List<PersonBase>())
            {
                
            }

RSRP-467978: Remove dependency on PresentationFramework from code style settings pages

$
0
0
Reporter Eugene Auduchinok (Eugene.Auduchinok) Eugene Auduchinok (Eugene.Auduchinok)
Created Jan 17, 2018 1:01:26 PM
Updated Apr 18, 2018 6:49:47 PM
Subsystem Internals
Assignee Razmik Seysyan (razmik)
Priority Normal
State In Progress
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
CodeStylePage uses GridLength which adds dependency to PresentationFramework.
I'd like to make F# plugin development possible on Mac/Linux without additional workarounds and this dependency stops me from making it.

RSRP-467117: Find usages for deconstructors doesn't work across file boundary.

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Nov 20, 2017 7:42:24 PM
Updated Apr 18, 2018 6:51:12 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
File 1
  class Program
{
static void Main(string[] args)
{
var dictionary = new Dictionary<string, string>();
foreach (var (key, value) in dictionary)
{
}
}
}
File 2
  public static class KeyValuePairExtensions
{
public static void Deconstruct<TKey, TValue>(
this KeyValuePair<TKey, TValue> pair,
out TKey key, out TValue value)
{
key = pair.Key;
value = pair.Value;
}
}

RSRP-469318: Find Usages: usages not found for Deconstruct.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 18, 2018 5:52:11 PM
Updated Apr 18, 2018 6:51:12 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
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.033450-eap10d.

Test solution is attached.

  1. Invoke Find Usages on Person.Deconstruct.

Actual result:
Usages were not found.

Expected result:
Usages were found.

RSRP-469320: “Find text”: elision is too aggressive, space is wasted; overall, the list is too narrow (even when document width allows)

$
0
0
Reporter Ruslan Khamidullin (HamRusTal) Ruslan Khamidullin (HamRusTal)
Created Apr 18, 2018 6:56:05 PM
Updated Apr 18, 2018 7:05:05 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Usability Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
See screenshot:


BTW, why isn't “2018.1” (not EAP) in the “Affected versions” list?

RSRP-469321: "if" statement clearing by custom SourceTemplate

$
0
0
Reporter Сергей Кострикин (panixida27) Сергей Кострикин (panixida27)
Created Apr 18, 2018 7:06:08 PM
Updated Apr 18, 2018 7:11:57 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

When im using custom SourceTemplate into if statement after && or || its clear all code into brackets and insert code from SorceTemplate.

RSRP-469272: Rename: .cshtml files get processed during rename of private field in .cs file.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 16, 2018 4:56:55 PM
Updated Apr 18, 2018 7:42:02 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 12.0.20180414.154021.

Snapshot: \msdc\Snapshots\LSH\Jafigoj.zip
Test solution: \msdc\Snapshots\LSH\nopCommerce-develop2.zip

  1. Invoke Refactor This -> Rename on panel in Log class.
  2. Set valid name and uncheck "Search in comments and string literals".
  3. Click Next.

Actual result:
.cshtml files get processed. Rename takes ~ 3 min in solution with 697 .cshtml files.

Expected result:
.cshtml files are not processed.

RSRP-467796: Unable to run MSTest v2 with MS Fakes.

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Dec 29, 2017 7:23:04 PM
Updated Apr 18, 2018 9:15:25 PM
Resolved Mar 28, 2018 2:10:05 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3.1
Fixed In Version ReSharper 2018.1 EAP 5
VsVersion All Versions
Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables.
Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables.
 at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.ResolveProfilerPath()
 at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.Initialize()
 at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
 at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()
 at FakesTests.UnitTest1.TestMethod1() in c:\users\user\source\repos\MSTestFakes\MSTestFakes\UnitTest1.cs:line 15

ReSharper 2017.2.2 successfully runs these tests.
Viewing all 106942 articles
Browse latest View live


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