Event handler names consistency
Currently Re#er and VS use different rules when generating event handler
names. In VS the name is something like _ while in Re#er it
is _On 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. In
particular I cannot see any reason for inserting "On". Changing the
capitalization style of ]]> is also doubtful.
For sake of simplicity we can have a single checkbox activating which the
user may force Re#er to produce "VS-compatible" names.
Regards.
Please sign in to leave a comment.
Shouldn't method names start uppercase by Microsoft's convention?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com "Develop with pleasure!"
I think it makes sense to make this configurable. Could you please submit feature request into the tracker?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com "Develop with pleasure!"
They should. However I can't see any way to configure the style of
designer-generated method names. Convention is only good if it makes the
code style consistent.
feature request into the tracker?
Done.