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

RSRP-188292: QF 'Implement members' explicitly calls property accessor

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 13, 2010 11:49:50 AM
Updated Oct 4, 2018 4:33:10 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
interface I
{
int get_X();
}

class A : I
{
public int X { get; set; }
}

After QF:

class A : I
{
public int X { get; set; }
int I.get_X()
{
return get_X(); // error CS0571: 'A.X.get': cannot explicitly call operator or accessor
}
}

Expected:

class A : I
{
public int X { get; set; }
int I.get_X()
{
return X; // OK
}
}

RSRP-188346: Move To Folder corrupts SVN entry and doesn't move file

$
0
0
Reporter JD Stuart (jdstuart) JD Stuart (jdstuart)
Created Aug 13, 2010 9:49:37 PM
Updated Oct 4, 2018 4:34:53 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Major
State To Reproduce
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When doing Ctrl+Shift+R -> "Move To Folder" on a class (MyClass.vb) located in a folder (SubSubFolder) and try to move it to a folder parent to that folder(SubFolder), the "Move To Folder" function seems to corrupt the SVN entry for that file.

  • The file is also not moved to the folder

FolderStructure:
  • Root
    —|SubFolder
    -----|SubSubFolder
    -------|MyClass.vb


  • When then trying to manually move the file using Solution Explorer the following error is provided from VisualSVN:

File 'D:\RootFolder\SubFolder\SubSubFolder\MyClass.vb' cannot be renamed on top of missing file 'D:\RootFolder\SubFolder\MyClass.vb' (it was removed from disk but not marked as deleted in working copy). Please mark this file as deleted. Select 'VisualSVN->Show Changes' in menu, right-click on file 'D:\RootFolder\SubFolder\MyClass.vb' and select 'Delete'

Visual SVN 1.7.3 installed

RSRP-188572: Strange foreach to for conversion

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 17, 2010 4:07:27 PM
Updated Oct 4, 2018 4:37:47 PM
Resolved Oct 4, 2018 4:37:47 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 2016.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

class A
{
static void Main()
{
foreach (var ch in Foo())
{
Console.WriteLine(ch);
}
}

static char[] Foo()
{
return Console.ReadLine().ToCharArray();
}
}

After conversion:

using System;

class A
{
static void Main()
{
for (int index = 0; index < Foo().Length; index++)
{
var ch = Foo()[index];
Console.WriteLine(ch);
}
}

static char[] Foo()
{
return Console.ReadLine().ToCharArray();
}
}

...which has a completely different behavior because Foo is called at each iteration.

RSRP-471750: Fetch references from WixProject

RSRP-188715: After renaming class __Attibute to _Attribute its usages in VB become broken (because _ is not a valid identifier)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 18, 2010 6:02:17 PM
Updated Oct 4, 2018 4:41:04 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Should use full name _Attribute in this case.

RSRP-188945: CA 'Specify type explicitly' forgets to insert type arguments and using directives for retargetable types

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 20, 2010 5:35:17 PM
Updated Oct 4, 2018 4:44:42 PM
Resolved Oct 4, 2018 4:44:42 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
// .NET 2.0
using System.Collections.Generic;

public class A
{
public static List<int> Foo()
{
return null;
}
}
// .NET 4.0
class B
{
static void Main()
{
var x = A.Foo(); // Apply CA 'Specify type explicitly'
}
}

Result:
class B
{
static void Main()
{
List x = A.Foo(); // List is unresolved
}
}

RSRP-189109: [VB] Renaming property of an implicit anonymous type in query expression does not update usages

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 24, 2010 12:52:08 PM
Updated Oct 4, 2018 4:45:47 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Open
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Option Strict On

Module M
Sub Foo()
Dim z = From x In "" Select a = x, b = x
Console.WriteLine(z.First().a)
End Sub
End Module

Rename a to a1 in the query expression. Result:

Option Strict On

Module M
Sub Foo()
Dim z = From x In "" Select a1 = x, b = x
Console.WriteLine(z.First().a) ' error BC36557: 'a' is not a member of '<anonymous type>'; it does not exist in the current context.
End Sub
End Module

RSRP-189122: After 'Change signature' code in VB is reparsed in a wrong way

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 24, 2010 1:39:02 PM
Updated Oct 4, 2018 4:50:15 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Option Strict On

Module M
Sub Foo()
Bar(Nothing, From x In {""} Select x)
End Sub

Sub Bar(ByVal x As Object, ByVal y As Object)
End Sub
End Module

Change signature of the method Bar - reorder its parameters. Result:

Option Strict On

Module M
Sub Foo()
Bar(From x In {""} Select x, Nothing) ' error BC36599: Range variable name can be inferred only from a simple or qualified name with no arguments.
End Sub

Sub Bar(ByVal y As Object, ByVal x As Object)
End Sub
End Module

Parsing of the query expression greedily eats all arguments. Expected result:

Option Strict On

Module M
Sub Foo()
Bar((From x In {""} Select x), Nothing) ' OK
End Sub

Sub Bar(ByVal y As Object, ByVal x As Object)
End Sub
End Module

RSRP-468636: Fails to decompile .NET Standard assemblies

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Mar 11, 2018 9:34:57 PM
Updated Oct 4, 2018 5:00:56 PM
Subsystem External Sources
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Navigate to Decompiled Sources / Go to Definition opens stub file containing only method declarations.

RSRP-471005: Adjust Namespaces: dialog fills screen (by width).

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Aug 9, 2018 7:17:24 PM
Updated Oct 4, 2018 5:03:11 PM
Subsystem Refactorings
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Critical
State Submitted
Type Usability Problem
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.2.EAP7D.Checked.(182.0.20180809.64901-eap07d).

Test solution: \\unit-1019\Share\Clean Test Projects\Multiplayer-FPS-master_With_Solution.zip

  1. Invoke Adjust Namespaces on solution.
  2. Click Next in dialog.

Actual result:
Dialog is very big:

Expected result:
Dialog's width does not change during refactoring.

RSRP-416576: New suggestion: make static method non static when referencing instance fields.

$
0
0
Reporter Joshua McKinney (joshka) Joshua McKinney (joshka)
Created Jun 20, 2014 10:00:45 AM
Updated Oct 4, 2018 5:03:17 PM
Resolved Oct 4, 2018 5:03:17 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Given the following code, one of the suggestions to fix the broken line should be Make 'Bar' non-static.

int _foo;
static void Bar()
{
_foo = 0; // broken
}

RSRP-189232: Missing paired quickfix for making method non-static

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created Aug 24, 2010 8:07:08 PM
Updated Oct 4, 2018 5:04:35 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When I call a non-static method from a static method, there is a quickfix to make the called method static. But there is no quickfix to make the caller method non-static.

RSRP-83711: NavigateFromHere: on Conflicting Fieds, Reads "Member Overloads"

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Oct 16, 2008 10:39:12 PM
Updated Oct 4, 2018 5:04:56 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Open
Type Cosmetics
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If there's more than one field with the same name in the class, NavigateFromHere can jump to the other one (good), but the item is named "member overloads" (ungood).

RSRP-189568: Missing QF 'Wrap with unchecked'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 26, 2010 5:06:30 PM
Updated Oct 4, 2018 5:07:51 PM
Resolved Oct 4, 2018 5:07:51 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
class A
{
static void Foo()
{
var x = (uint)-1; // error CS0221: Constant value '-1' cannot be converted to a 'uint' (use 'unchecked' syntax to override)
}
}

RSRP-189570: Missing QF 'This is array of DayOfWeek'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 26, 2010 5:31:56 PM
Updated Oct 4, 2018 5:09:10 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

class A
{
static void Foo()
{
var y = new []{DayOfWeek.Tuesday, 0};
}
}

Expected result:

var y = new DayOfWeek[] { DayOfWeek.Tuesday, 0 };

RSRP-470408: Cannot resolve symbol 'string'

$
0
0
Reporter Daniel Bonecke (sq_dmb) Daniel Bonecke (sq_dmb)
Created Jul 2, 2018 9:54:17 AM
Updated Oct 4, 2018 5:09:57 PM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
State Open
Type Bug
Fix version 2018.3
Affected versions 2018.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

For whatever reason ReSharper cannot resolve lots of references.
It definitely has to do with ReSharper as the issue goes away if I suspend ReSharper.
I am using VS 2017 15.7.3 (not available here in the VsVersion combobox).
I have attached the logs.

RSRP-460566: Unit Test's 'Run Current Session' shortcut doesn't work when in different window

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Aug 30, 2016 12:31:29 PM
Updated Oct 4, 2018 5:11:05 PM
Resolved Oct 4, 2018 5:11:05 PM
Subsystem Unit Testing
Assignee Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Priority Major
State Can't Reproduce
Type Bug
Fix version No Fix versions
Affected versions 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I use two-monitor setup.

When my tests and 'Unit Test Session' windows are on monitor A, and I'm typing in the text editor on monitor B, regular shortcut 'CTRL+T, CTRL+Y' doesn't work (thought it works just fine when I'm in text editor on monitor A'

RSRP-189844: QFix "Use Existing Variable": Tries to Specify Type Explicitly for Anonimous Types

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Aug 30, 2010 11:47:15 PM
Updated Oct 4, 2018 5:12:39 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using (new MemoryStream())
{
var truu = new[] { "" }.Select(x => new { x }).ToList();
}
truu.ToString();

Exec "Use existing variable" on red "truu", you get:

List<> truu;
using (new MemoryStream())
{
truu = new[] { "" }.Select(x => new { x }).ToList();
}
truu.ToString();

RSRP-463151: Logs with Internal Details Pop up in Public Mode

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Feb 19, 2017 6:25:16 AM
Updated Oct 4, 2018 5:13:19 PM
Resolved Oct 4, 2018 5:13:19 PM
Subsystem Unit Testing
Assignee Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Priority Critical
State Can't Reproduce
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions


This stuff popped up automatically, in R# running in public mode, in a solution which does not have any tests. But anyway I doubt this could be of any interest to the user unless there is any problem in tests.

I consider this to be a rather annoying user experience.

RSRP-471756: Debugger inline values are rendered with blurry font.

$
0
0
Reporter Andrew Vasilyev (Andrew.Vasilyev) Andrew Vasilyev (Andrew.Vasilyev)
Created Oct 4, 2018 5:14:02 PM
Updated Oct 4, 2018 5:16:24 PM
Subsystem Debugger features
Assignee Andrew Vasilyev (Andrew.Vasilyev)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

To reproduce:

  1. Set font to "Text Editor font":

  2. Start debugging.

  3. Stop at line after line with variable assignment.

  4. Scale editor to 250%

Result:

сс: @Igor Akhmetov @Mikhail Senkov

Viewing all 106942 articles
Browse latest View live


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