Priority
Normal
Type
Feature 
State
Open 
Assignee
Slava Tutushkin 
Subsystem
Live templates 
Affected versions
Fix for
  • Submitted by   Andrew Serebryansky
    2 years ago (11 Jan 2008 18:25)
  • Updated by   Oleg Stepanov
    13 days ago (26 Aug 2010 16:06)
  • Jira: RSRP-55772
    (history, comments)
RSRP-55772 Live template variable macro: suggest field name based on
0
Our coding standards call for _fieldName (i.e. lowerCamelCase prefixed with an underscore). I've got the underscore configured correctly in ReSharper|Options.

What I'd like is a live template macro called something like "Suggest field name based on ", which basically does the correct capitalisation and sticks the configured prefix and suffix on that name.

At the moment, I have to use _$fieldName$, and have fieldName defined as "Value of propertyName with the first character in lower case". This is excellent, but it could be even better.
Comments (0)
 
History
 
Linked Issues (0)
 
TeamCity Changes (0)
 
Issue has no comments