meta:resourcekey actions

I guess I ought to have joined in the beta program and commented on this before launch. I'm also not sure if this is the appropriate place for such feedback but I'll leave it here anyway and perhaps some kind soul can fill me in on the appropriate protocol.

If I have a localizable resource, e.g.
<asp:literal id="myLiteral" text="SomeText" meta:resourcekey="myLiteralResource" />

Resharper tells me that the key doesn't exist and provides the action to create the entry in the resx file. Yay.
However, an entry is created for 'myLiteralResource.Text' with a value copied from the ID attribute of the control rather than the Text attribute. The VS inbuilt 'Generate Local Resource' feature uses the Text attribute (as this is the most meaningful). I would have expected the Resharper feature to mimic this.

Cheers.
Steve

2 comments

Thank you, it will be fixed in the next version.

0

Could you also squeeze in
meta:localize="false"
?

Steve

0

Please sign in to leave a comment.