Highlight variables that are the ever the target of a "lock" clause



Just as it would be helpful to have some indication of the "IDisposable" semantic of a variable/field where that variable is used outside a "using", I think it would be helpful to have RS highlight any object that is the target of a "lock" if that object is used outside a "lock".

Also, on both lines of thought, it may be helpful for RS to support decorating parameters/properties via attributes to indicate the "ShallBeLocked/ShallNotBeLocked", "ShallBeWithinUsing...", ...

For RS4.0, I would suggest just the highlighting support. But it would be nice to have the attribute support soon thereafter.

3 comments
Comment actions Permalink

Hello Brian,

Feature set for ReSharper 4 is mostly closed and we are approaching Feature
Complete milestone, so it is unlikely that this kind of feature will be part
of ReSharper 4 release.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


BS> [ Very similar to
BS> http://www.intellij.net/forums/thread.jspa?threadID=273882&tstart=0
BS> ]
BS>
BS> Just as it would be helpful to have some indication of the
BS> "IDisposable" semantic of a variable/field where that variable is
BS> used outside a "using", I think it would be helpful to have RS
BS> highlight any object that is the target of a "lock" if that object
BS> is used outside a "lock".
BS>
BS> Also, on both lines of thought, it may be helpful for RS to support
BS> decorating parameters/properties via attributes to indicate the
BS> "ShallBeLocked/ShallNotBeLocked", "ShallBeWithinUsing...", ...
BS>
BS> For RS4.0, I would suggest just the highlighting support. But it
BS> would be nice to have the attribute support soon thereafter.
BS>


0
Comment actions Permalink

Hello Brian,

Also, this doesn't mean we don't want to listen for feature ideas :) Some
features can be easy to implement, you know.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hello Brian,
IR>
IR> Feature set for ReSharper 4 is mostly closed and we are approaching
IR> Feature Complete milestone, so it is unlikely that this kind of
IR> feature will be part of ReSharper 4 release.
IR>
IR> Sincerely,
IR> Ilya Ryzhenkov
IR> JetBrains, Inc
IR> http://www.jetbrains.com
IR> "Develop with pleasure!"
BS>> [ Very similar to
BS>> http://www.intellij.net/forums/thread.jspa?threadID=273882&tstart=0
BS>> ]
BS>>
BS>> Just as it would be helpful to have some indication of the
BS>> "IDisposable" semantic of a variable/field where that variable is
BS>> used outside a "using", I think it would be helpful to have RS
BS>> highlight any object that is the target of a "lock" if that object
BS>> is used outside a "lock".
BS>>
BS>> Also, on both lines of thought, it may be helpful for RS to support
BS>> decorating parameters/properties via attributes to indicate the
BS>> "ShallBeLocked/ShallNotBeLocked", "ShallBeWithinUsing...", ...
BS>>
BS>> For RS4.0, I would suggest just the highlighting support. But it
BS>> would be nice to have the attribute support soon thereafter.
BS>>


0
Comment actions Permalink

Hey, gotta leave SOMETHING to do for the 4.1 release!

The one area that needs the most work, however, is performance on ASP.NET
projects and solutions that contain websites, etc. That's the number one
road-block to my company using this universally... not lack of this or that
feature. It's all about peformance in these (to us) very common use cases,
where it's been so unacceptable that more than half our developers ended up
uninstalling Resharper.


"Ilya Ryzhenkov" <orangy@jetbrains.com> wrote in message
news:76a2bd0b153beb8ca5cd6d6e76736@news.intellij.net...

Hello Brian,

>

Also, this doesn't mean we don't want to listen for feature ideas :) Some
features can be easy to implement, you know.

>

Sincerely,
Ilya Ryzhenkov

>

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

IR> Hello Brian,
IR> IR> Feature set for ReSharper 4 is mostly closed and we are
approaching
IR> Feature Complete milestone, so it is unlikely that this kind of
IR> feature will be part of ReSharper 4 release.
IR> IR> Sincerely,
IR> Ilya Ryzhenkov
IR> JetBrains, Inc
IR> http://www.jetbrains.com
IR> "Develop with pleasure!"
BS>> [ Very similar to
BS>> http://www.intellij.net/forums/thread.jspa?threadID=273882&tstart=0
BS>> ]
BS>> BS>> Just as it would be helpful to have some indication of the
BS>> "IDisposable" semantic of a variable/field where that variable is
BS>> used outside a "using", I think it would be helpful to have RS
BS>> highlight any object that is the target of a "lock" if that object
BS>> is used outside a "lock".
BS>> BS>> Also, on both lines of thought, it may be helpful for RS to
support
BS>> decorating parameters/properties via attributes to indicate the
BS>> "ShallBeLocked/ShallNotBeLocked", "ShallBeWithinUsing...", ...
BS>> BS>> For RS4.0, I would suggest just the highlighting support. But it
BS>> would be nice to have the attribute support soon thereafter.
BS>>


0

Please sign in to leave a comment.