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

RSRP-469056: Reformat code removes quick fixes for generic interfaces

$
0
0
Reporter Tomasz Podolak (tpodolak) Tomasz Podolak (tpodolak)
Created Mar 4, 2018 7:19:03 PM
Updated Apr 10, 2018 2:37:26 PM
Subsystem Code Style - Formatter
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

Create generic interface

public interface IGenericInterface<T1, T2>
{
    void Foo();
}

Create class which inherits from the interface with no spaces between generic parameters(without implementing the interface)

public class GenericClass<TRequest,TResponse> : IGenericInterface<TRequest,TResponse>
{
}

Red squiggle will be shown indicating action you can perform (implement missing members etc.). Run Reformat Code (CTRL + ALT + L on my keyboard layout), editor no longer shows squiggle.

Text

JetBrains Rider 2018.1 EAP
Build #RD-181.3782.222, built on February 22, 2018
Rider EAP User
Expiration date: March 24, 2018
JRE: 1.8.0_152-release-1136-b12 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0


Viewing all articles
Browse latest Browse all 106942

Trending Articles