Reporter | Anton Lobov (Anton.Lobov) |
---|---|
Created | Sep 3, 2012 12:03:02 PM |
Updated | Apr 23, 2018 5:14:08 PM |
Resolved | Apr 23, 2018 5:14:08 PM |
Subsystem | Quick Fixes - Create From Usage |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Fixed |
Type | Bug |
Fix version | Unidentified prior version |
Affected versions | 7.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Very minor issue which prevented one of integration tests from pass in 7.1.
In 7.0.1 it was ok.
Code to type:
Move caret after "Create()", wait for a while, then move in between "Create(" and ")", immediately type "c", wait for intellisense suggest to appear, press [Esc] and call quick fix. Only "add argument name" quick fix is suggested (see minor.png). If I move the caret back and forth, "create" submenu is displayed (see minor2.png).
Minor, but issue. Users who type non-one-symbol variable names or one-symbol names which do not lead to intellisense suggestion and who are not robots won't ever notice it. :)
To sum up: if there is "create" fix available for one-letter or very-very-quickly-typed variable, but intellisense menu was shown and hidden by [Esc], "create" fix will not be shown.
In 7.0.1 it was ok.
Code to type:
public void Add<T> (T obj)
{
using (Mongo mongo = Mongo.Create())
{
}
}
Move caret after "Create()", wait for a while, then move in between "Create(" and ")", immediately type "c", wait for intellisense suggest to appear, press [Esc] and call quick fix. Only "add argument name" quick fix is suggested (see minor.png). If I move the caret back and forth, "create" submenu is displayed (see minor2.png).
Minor, but issue. Users who type non-one-symbol variable names or one-symbol names which do not lead to intellisense suggestion and who are not robots won't ever notice it. :)
To sum up: if there is "create" fix available for one-letter or very-very-quickly-typed variable, but intellisense menu was shown and hidden by [Esc], "create" fix will not be shown.