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

RSRP-462001: red code is not removed after action applied

$
0
0
Reporter Ivan Serduk (IvanSerduk) Ivan Serduk (IvanSerduk)
Created Dec 1, 2016 12:26:50 PM
Updated Apr 17, 2018 6:02:40 PM
Subsystem Context Actions
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Press "Alt+Enter"
2. Select "Introduce variable"
3. Press "Enter" two times to confirm "var" and variable name.
4. Result -

"Unexpected token" error disappears after next typing

public class MyClass
{


public void Test(MyClass myClass)
{
var a = 1;
myClass.GetValue(){cursor}
for (var i = 0; i < a; i++)
{

}
}

public object GetValue()
{
return null;
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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