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

Key: RSRP-4659
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Dmitry Lomov
Reporter: Maxim A. Babenko
Votes: 0
Watchers: 0
Operations

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

Add an ability to configure event handler name style

Created: 05 Aug 06 01:15   Updated: 08 Jun 07 20:42
Component/s: Options
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 108
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=4659


 Description  « Hide
Currently Re#er and VS use different rules when generating event handler names. In VS the name is something like <object>_<event> while in Re#er it is <object>_On<event> with first letter of the method capitalized. Since I actively use both of Re#er and VS (mainly in Forms Designer) to generate handlers, the sources look inconsistent.

Having some options to control Re#er-generated names would be nice. Several variants of such customization are possible.

1) The simplest one is to have an option which enforces "VS compatibility mode".

2) More sophisticated is to support some kind of name patterns. For example $OBJECT$On$EVENT$ or $OBJECT$$EVENT$. There also should be an option to control capitalization style.



 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 10 Mar 07 16:12
Dmitry, please support this in naming. Then assign to Andrey Simanovsky to fix appropriate quickfixes and context actions. Then assign to Oleg Stepanov to fix Smart-Completion generators