Reporter | Andrey Simukov (Andrey.Simukov) |
---|---|
Created | Apr 12, 2018 5:14:36 PM |
Updated | Apr 16, 2018 5:19:50 PM |
Subsystem | Quick Fixes |
Assignee | Alexander Shvedov (shvedov) |
Priority | Normal |
State | Open |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-469239: Duplicated "Remove expression" item in Alt+Enter menu
RSRP-469238: Quick-Fix for "Expression is always true/false" removes inline commentary within the expression
Reporter | Andrey Simukov (Andrey.Simukov) |
---|---|
Created | Apr 12, 2018 5:04:20 PM |
Updated | Apr 16, 2018 5:20:12 PM |
Subsystem | Quick Fixes |
Assignee | Alexander Shvedov (shvedov) |
Priority | Normal |
State | Open |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2017.3.5, 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
bool test = true;
if (test!=false /*comment*/ && 1==1)
{
//...etc...
}
Place a caret at
test!=false
or 1==1
or &&
, choose any of the suggestions, for exampleRemove expression for
1==1
Replace expression with 'true' for all the expression
The commentary is removed.
RSRP-469273: Incorrect test grouping
Reporter | Alexey Serov (jexaser) |
---|---|
Created | Apr 14, 2018 3:00:48 PM |
Updated | Apr 16, 2018 5:22:48 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 |
Version: 181.4379.974
Timezone: Europe/Moscow
Evaluation: true
Environment: RD-181.4379.974, JRE 1.8.0_152-release-1136-b23x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080
Hello, In the attachment you can find a sample project and some screenshots. The first one is from the sample, the second one - is from the actual project.
So, I have several projects, in the 1st we have a base SetUpFixture class, and base TestFixture class. In the 2nd project, I have test fixtures I would like to run, and also a setup fixture descending from the setup fixture located in the 1st project.
All the grouping options in the UnitTests tab are enabled, so I expect unit tests being grouped by solution\folder\file, but instead of this, most of the tests are sub-nodes of the setup fixture node:
In my working project, the situation is even worse: all the tests are subnodes of the setup fixture:
So in case, I need to run ~ 1K tests located in the specific namespace (btw, it would be great if you add a namespace and category grouping), I have to run an instance of Visual Studio with alternative test runners.
RSRP-469274: Cannot resolve any dynamic property (VSTO)
Reporter | Nir Wein (nir.wein@powerex.com) |
---|---|
Created | Apr 16, 2018 5:42:29 PM |
Updated | Apr 16, 2018 5:44:56 PM |
Subsystem | Code Analysis - C# |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2018.1.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
After upgrading to 2018.1.1 all references in my VSTO solution to any dynamic property or method in Office interop is signaled as an error saying 'Cannot resolve symbol xxx'. This includes auto generated designer files.
RSRP-469275: Alt+R does not open ReSharper menu in VS toolbar.
Reporter | Lilia Shamsutdinova (Lilia.Shamsutdinova) |
---|---|
Created | Apr 16, 2018 5:46:32 PM |
Updated | Apr 16, 2018 5:46:32 PM |
Subsystem | Platform |
Assignee | Serge Baltic (baltic) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper Ultimate 2018.1 12.0.20180414.154021.
- Press Alt and click R.
Actual result:
Nothing happens.
Expected result:
ReSharper menu in VS toolbar opens.
NOTE:
If Alt is clicked and after Alt is released R is clicked then ReSharper menu opens.
RSRP-457669: Disable code completion for generated lambda argument types
Reporter | Dmitri Nesteruk (dnesteruk) |
---|---|
Created | Apr 7, 2016 10:16:36 PM |
Updated | Apr 16, 2018 5:58:02 PM |
Subsystem | IntelliSense (Code Completion) |
Assignee | Alexander Shvedov (shvedov) |
Priority | Major |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2016.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Action<int> a = /* completion here makes */ x => ...
Where
x
is a suggested variable name. Unfortunately, pressing Tab
on x
causes code completion to fire, which is extremely annoying, especially for functions taking many arguments. This almost always corrupts the variable name: for example, pressing Tab
on variable name g
completes it to global::
. Every letter is likely to produce an incorrect replacement of the token in the hotspot.Can we please please please disable code completion in such generated items completely, unless invoked explicitly? The
Tab
character should simply takes us to the next hotspot item and not complete anything.Thanks.
RSRP-469178: No Completion / Suggestion for NavigationPage XAML Attribute
Reporter | Alessandro Babboni (aledigitale) |
---|---|
Created | Apr 10, 2018 8:31:31 AM |
Updated | Apr 16, 2018 6:05:56 PM |
Subsystem | IntelliSense (Code Completion) |
Assignee | Alexander Shvedov (shvedov) |
Priority | Critical |
State | Fixed In Branch |
Type | Bug |
Fix version | 2018.1.1 |
Affected versions | 2017.3.3, 2017.3.5, 2018.1.1, 2017.2.1, 2017.2.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 15.3 |
In Xamarin.Forms Project, in XAML, there's no autocompletion nor any suggestion for the NavigationPage ContentPage's attribute !!
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:App"
x:Class="App.MainPage"
Title="Welcome Page"
NavigationPage >
if you try to start writing NavigationPage nothing happens !
but, if you write it fully by hand and you reach the DOT, magically and suddendly ReSharper "wakes up"...
for example, just try to write: NavigationPage.HasNavigationBar
this is a very annoying bug :-(
RSRP-468400: Test runner should warn when trying to run tests inside .NET Standard project
Reporter | Andrey Simukov (Andrey.Simukov) |
---|---|
Created | Feb 15, 2018 10:16:54 PM |
Updated | Apr 16, 2018 6:06:38 PM |
Resolved | Apr 16, 2018 6:06:38 PM |
Subsystem | Unit Testing |
Assignee | Eugene Strizhok (Eugene.Strizhok) |
Priority | Normal |
State | Fixed |
Type | Usability Problem |
Fix version | 2018.1.1 |
Affected versions | 2017.3.2 |
Fixed In Version ReSharper | 2018.1 RTM |
VsVersion | All Versions |
RSRP-469276: Provide a quick fix for unit tests in .NET Standard projects
Reporter | Andrey Akinshin (Andrey.Akinshin) |
---|---|
Created | Apr 16, 2018 6:08:45 PM |
Updated | Apr 16, 2018 6:08:45 PM |
Subsystem | Unit Testing |
Assignee | Eugene Strizhok (Eugene.Strizhok) |
Priority | Normal |
State | Submitted |
Type | Feature |
Fix version | 2018.2 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-469277: Backspace and delete typing assists which removes black lines
Reporter | Alexander Kirsanov (alexander_kirsanov) |
---|---|
Created | Apr 16, 2018 6:28:13 PM |
Updated | Apr 16, 2018 6:28:13 PM |
Subsystem | Typing Assistance |
Assignee | Slava Tutushkin (slava.tutushkin) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-469278: Upgrading ReSharper Ultimate 2017.3to 2018.1 on license server
Reporter | MohammadReza Baharnemati (optymsupport) |
---|---|
Created | Apr 16, 2018 6:33:36 PM |
Updated | Apr 16, 2018 7:03:08 PM |
Subsystem | Licensing and Evaluation |
Assignee | Maria Pleskunina (Maria.Pleskunina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-435682: Find usages: allow navigation to dead search targets
Reporter | Alexander Shvedov (shvedov) |
---|---|
Created | Mar 21, 2015 12:26:31 AM |
Updated | Apr 16, 2018 8:08:55 PM |
Subsystem | Navigation - Search (Find Usages) |
Assignee | Alexander Ulitin (alexander.ulitin) |
Priority | Critical |
State | Open |
Type | Feature |
Fix version | Backlog |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
- Search for type member usages, wait for "find results" window to come up;
- Comment out type member;
- Search target in "find results" window became
striked-out like this;
Navigation back to this type member no longer works at all. But actually it's near the original document range - in the commentary :)
I propose to check document range of declared element pointer (if it can't restore declared element) and if range is not dead enough, navigate there. This is much smarter thing to do, comparing to doing nothing. If this can be done generally, for dead usages too - that would be simply great.
RSRP-140436: Completion in annotations
Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Dec 9, 2009 1:45:50 PM |
Updated | Apr 16, 2018 8:09:32 PM |
Subsystem | IntelliSense (Code Completion) |
Assignee | Alexander Shvedov (shvedov) |
Priority | Normal |
State | Submitted |
Type | Feature |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
[StringFormatMethod("")] // <-- Completion of parameter names here
public void WriteLine(string format, params object[] args)
RSRP-469259: Strange aligning by columns
Reporter | Gabriel Porras (ghporras) |
---|---|
Created | Apr 13, 2018 4:13:29 PM |
Updated | Apr 16, 2018 9:26:56 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Critical |
State | Submitted |
Type | Bug |
Fix version | 2018.1.1 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
I config all ReSharper options as shown in image: "ReSharperConfig.png" and it works great.
But I found this detail: A c# code looks like image "ActualFormating.png"
But I think it should format like: "DesiredFormating.png", or something similar with all parameters aligned.
Is it possible? Or is correct the actual ReSharper alignment?
Thanks
RSRP-469280: Complete current statement on local functions (C#) bug
Reporter | Denis Marinov (dsmjet) |
---|---|
Created | Apr 12, 2018 2:32:39 PM |
Updated | Apr 16, 2018 11:15:48 PM |
Subsystem | Complete Statement |
Assignee | Slava Tutushkin (slava.tutushkin) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
When pressing "Ctrl+Shift+Enter" after the local function "void Test()" an ending semicolon, a semicolon on a new line and a new empty line are invoked. Outside the main scope however same results in "void Test() { ... }" as expected.
Could you please fix this bug? Thank you kindly!
JetBrains Rider 2018.1 EAP
Build #RD-181.4379.974, built on April 10, 2018
Rider EAP User
Expiration date: May 10, 2018
JRE: 1.8.0_152-release-1136-b23 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS: Windows 10
RSRP-468761: Resharper thinks that types are not compatible
Reporter | NN __ (NN) |
---|---|
Created | Mar 20, 2018 11:41:51 AM |
Updated | Apr 16, 2018 11:44:51 PM |
Subsystem | TypeScript |
Assignee | Nikita Popov (poksh) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
class BlobShim implements Blob {
constructor(blobParts?: any[], options?: BlobPropertyBag) { }
public msDetachStream(): any { }
public slice(start?: number, end?: number, contentType?: string): Blob {
return new Blob();
}
public msClose(): void { }
public type: string = "";
public size: number = 1;
}
// Subsequent variable 'Blob' declarations must have the same type. But the declare several incompatible types: {new )blobParts?: any[] | undefined, options?: BlobPropertyBag | undefined) => Blob; prototype: Blob; }, any.
var Blob: {
prototype: Blob;
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
} = BlobShim;
RSRP-468693: [Performance Report] Analyzing changes stuck
Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Mar 15, 2018 8:54:55 AM |
Updated | Apr 16, 2018 11:49:05 PM |
Subsystem | Psi - Caches |
Assignee | Dmitry Ivanov (daivanov) |
Priority | Show-stopper |
State | Open |
Type | Performance Problem |
Fix version | 2018.1.1 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
OS Version: Microsoft Windows NT 10.0.15063.0
Product: ReSharper, Version: 2017.3.20171222.81043
Time Zone: RTZ 4 (зима)
"Analyzing changes" is stuck for big project (ASP.NET MVC).
In snapshot, I included the analysis and expected completion, but the analysis does not end even if left on for a few days.
Ignoring files *.cshtml, *.ts, *.js and folders with another projects in solution does not help either.
RSRP-469016: Usage of deconstruction extension method breaks many refactorings
Reporter | Daniel Schüssler (danlex) |
---|---|
Created | Apr 1, 2018 11:29:11 PM |
Updated | Apr 17, 2018 12:42:09 AM |
Resolved | Apr 2, 2018 10:42:06 AM |
Subsystem | Psi - C# |
Assignee | Andrew Karpov (andrew.karpov) |
Priority | Normal |
State | Fixed |
Type | Bug |
Fix version | 2018.1 |
Affected versions | 2017.3.3, 2017.3.5 |
Fixed In Version ReSharper | 2018.1 EAP 6 |
VsVersion | VS 2017 RTM |
Think I finally found the culprit for the silent refactoring failures I've been experiencing (probably explains DEXP-303632 and others, though I'm not certain whether deconstruction extensions were involved there).
Just about any refactoring that involves Class1.Fun
in the example below will do nothing (e.g.: 'Extract method' after selecting the body of Fun
, inlining Fun
into another method, 'Extract superclass' (non-abstract), 'Move class to matching file' after renaming Class1
to Class2
, adjusting the namespace to the file location, ...).
using System.Collections.Generic;
namespace Example
{
public static class KeyValuePairExtensions
{
public static void Deconstruct<TK, TV>
(this KeyValuePair<TK, TV> kvp, out TK key, out TV value)
{
key = kvp.Key;
value = kvp.Value;
}
}
class Class1
{
public int Fun(KeyValuePair<int,int> kv)
{
var (k, v) = kv;
return k + v;
}
}
}
RSRP-469281: All XAML generated code references are red with Xamarin.Forms 3.0 NuGet package (pre-release)
Reporter | Django135 (Django135) |
---|---|
Created | Apr 17, 2018 5:36:37 AM |
Updated | Apr 17, 2018 5:37:52 AM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM, VS 2017 15.3 |
Hello,
Resharper is not recognizing all InitializeComponent()
calls and relationship between xaml and xaml.cs files after upgrading Xamarin.Forms NuGet package from 2.5 (which works) to 3.0 prerelease (which doesn't). It is worth noting that pressing F12 on the red InitializeComponent() call navigates to the generated cs file in obj\Debug.
I also tried as a workaround adding to the csproj:
<ItemGroup>
<Compile Include="obj\$(Configuration)\**\*.cs" />
</ItemGroup>
This caused the generated files to appear in visual studio solution explorer but still resharper was not recognizing them.
I noticed that in both nuget packages, the Xamarin.Forms targets changed a little for XamlG task (.targets file is inside nuget package in netstandard2.0\build folder).
Is there a possible MSBuild snippet workaround to help ReSharper recognize this until official support is released ? Any advice ?
Thanks in advance.
RSRP-467104: "Possible NullReferenceException" after using null conditional operator
Reporter | Liam Symonds (lssoftware) |
---|---|
Created | Nov 19, 2017 1:33:43 AM |
Updated | Apr 17, 2018 10:17:00 AM |
Resolved | Apr 17, 2018 10:17:00 AM |
Subsystem | Code Analysis - C# |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Critical |
State | Fixed |
Type | Bug |
Fix version | 2017.3 |
Affected versions | 2017.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
1) Have a class that has a string property in it (i.e. public class Foo { public string Bar { get; set; } }).
2) Create a method that has that class as a parameter (i.e. public void FooBar(Foo x)).
3) Use the null conditional operator to check whether 'Bar' is null (i.e. if (string.IsNullOrWhiteSpace(x?.Bar)).
4) Try and use the 'x' parameter (i.e. var z = x.Email;)
5) Get a 'Possible null exception alarm', even though the check would fail.
Full code example here: https://gitlab.com/snippets/1685111
Let me know if you need any other examples.