Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-204302: Macro "Value of another variable with the first character in upper case" in Live Template not usable for fields with underscore

$
0
0
Reporter Daniel Hilgarth (DanielH) Daniel Hilgarth (DanielH)
Created Jan 12, 2011 5:01:35 PM
Updated Jan 26, 2012 12:43:10 AM
Priority Major
Type Bug
Fix versions Next
State Open
Assignee Slava Tutushkin (slava.tutushkin)
Subsystem Live templates
Affected versions 6.0
Fixed in build No Fixed in build
I have the following template:

private $type$ $fieldname$;
public $type$ $propertyname$
{
    get { return $fieldname$; }
    set
    {
        if(value != $fieldname$)
        {
            $fieldname$ = value;
            InvokePropertyChanged(new PropertyChangedEventArgs("$propertyname$"));
        }
    }
}

with the following settings:
type: Choose macro
fieldname: suggest name for a variable
propertyname (Not editable): Value of fieldname with the first character in upper case
the suggested name for fieldname is correctly "_type".
The macro "Value of another variable with the first character in upper case" should use the first alphanumeric character of the variable...
Right now, I can't use the template like this

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>