History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-59011
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Pavel Savara
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

Configurable "intoduce variable" behavior for var keyword in C# 3.0

Created: 22 Feb 08 02:45   Updated: 22 Feb 08 13:38
Component/s: Refactorings - Inline Variable
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. .jpg
(274 kb)

2. key-longer.png
(7 kb)


 Description  « Hide
Current (new) content action is opening popup menu for real type (double) as well as for "var".
I don't wan't to use var at all so it is only slowing me down when moving to variable name definition.

I would like to be able to switch "var" off. But I guess that some people could request only var. So there will be three options:

  • exact type
  • both
  • var only


 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 22 Feb 08 02:50
Once you select exact type, it will sort var down the list. Doesn't it work for you?

Pavel Savara - 22 Feb 08 02:55
Still one key press longer than I wish.
OK, this one is low priority

Ilya Ryzhenkov - 22 Feb 08 02:58
What do you mean by "one key press longer"?

Pavel Savara - 22 Feb 08 03:15
I had
int a = 1;
a + a;

used intro variable on secon line.
now in there (screenshot attached).

So I should press tab key to get to variable name. (switch active template)
I wish that the first template will disappear, so will have single
step only as it was in R# 3.0


Isn't it too late to be at work now 2:30 ?


Pavel Savara - 22 Feb 08 03:18
screenshot