Picking up strings from Resource files

Hi,
 
R# seems to have some trouble picking up strings that are newly added to Resources. It can take 20 to 30 seconds after the Resources file is saved for it to recognise the new string.
 
Regards
Jeremy
 
 
 
]]>



Attachment(s):
Capture.GIF
Capture2.GIF
9 comments
Comment actions Permalink

Hi Jeremy,

ReSharper does not watch for resx changes. The RGreatEx resolves this problem
in the ReSharper.

--
Best regards,
Alexander Nesterenko
www.safedevelop.com


0
Comment actions Permalink

Hi Alexander,

Just a couple of questions:

1) does it replace the VS 2008 Resource Editor?
2) does it work with ASP.net pages?
3) is it safe to install on R# while their builds are changing daily?

Thanks
Jeremy


"Alexander Nesterenko" <alexn@safedevelop.com> wrote in message
news:57490f0925b128ca57cf726ad221@news.jetbrains.com...

Hi Jeremy,

>

ReSharper does not watch for resx changes. The RGreatEx resolves this
problem in the ReSharper.

>

--
Best regards,
Alexander Nesterenko
www.safedevelop.com

>


0
Comment actions Permalink

Hello Jeremy,

JH> 1) does it replace the VS 2008 Resource Editor?
No, RGreatEx does not have resource editor, while :)

JH> 2) does it work with ASP.net pages?
RGreatEx supports ASP.NET projects.

JH> 3) is it safe to install on R# while their builds are changing daily?
Yes, but some times R# API have break changes. But it's no problem, because
we monitor these changes.

Read information at the RGreatEx home page
http://safedevelop.com/Products/RGreatEx/default.aspx

--
Best regards,
Alexander Nesterenko
Safe Develop Team
www.safedevelop.com


0
Comment actions Permalink

I guess the guy is suggesting that it should watch for such changes, and I agree. With strongly-typed resources this is annoying since code-analysis shows the lines are invalid. If this is a performance issue, make it configurable in options.

0
Comment actions Permalink


"Alexander Nesterenko" <alexn@safedevelop.com> wrote in message
news:57490f0925b128ca57cf726ad221@news.jetbrains.com...

Hi Jeremy,

>

ReSharper does not watch for resx changes. The RGreatEx resolves this
problem in the ReSharper.


Yes, but you should. You are giving a false error of cannot resolve
symbol, and a red analysis light where it's clearly wrong.

(And RGreatEx causes an exception for me on today's build!)

0
Comment actions Permalink

Hi Barry,

(And RGreatEx causes an exception for me on today's build!)


Try to use RGreatEx 1.1.2.

--
Best regards,
Alexander Nesterenko
www.safedevelop.com


0
Comment actions Permalink


"Alexander Nesterenko" <alexn@safedevelop.com> wrote in message
news:57490f0925c998ca597dcd123d1d@news.jetbrains.com...

Hi Barry,

>
>> (And RGreatEx causes an exception for me on today's build!)
>

Try to use RGreatEx 1.1.2.


Will try again :) BTW could we get a #pragma to turn it off for certain
areas? I am trying to enforce a "no check in until it's green", but some
strings certainly shouldn't be internationalised, or resourced in a
particular project

0
Comment actions Permalink

Hi Barry,

Will try again :) BTW could we get a #pragma to turn it off for
certain areas? I am trying to enforce a "no check in until it's
green", but some strings certainly shouldn't be internationalised, or
resourced in a particular project


Use next ways to remove "Localizable string" suggestion:
1. Apply quick fix "Mark as non localizable"
2. Introduce constant for string
3. Surround with region "Don't localize", regions defined in the ReSharper|Options|Localization|C#.
4. ReSharper|Options|Localization|C# set to suppress for @"" strings and
convert to @"".

--
Best regards,
Alexander Nesterenko
www.safedevelop.com


0
Comment actions Permalink

Hi Barry,

Will try again :) BTW could we get a #pragma to turn it off for
certain areas? I am trying to enforce a "no check in until it's
green", but some strings certainly shouldn't be internationalised, or
resourced in a particular project


You can change severity for any warings or suggestions at the R#|Options|Code
Inspection|Inspection Severity.

--
Best regards,
Alexander Nesterenko
www.safedevelop.com


0

Please sign in to leave a comment.