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 |
R# has a nice way of generating stubs for a lambda, such as
Where
Can we please please please disable code completion in such generated items completely, unless invoked explicitly? The
Thanks.
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.