Find Usages Get / Set

Hello,

find usages is a very fine functionality.

But I think I found an error on properties. I can find usages for the
properties, but not specialised on get / set.

If like to find only "set"-usages, I found no possibility to do that,
although, i set the cursor on "set".

Is that a bug or a feature?

Is that problem already in tracker, I didnt found it.

Greets

Timo Wieczorek
RuB Software GmbH


3 comments
Comment actions Permalink

Hello T.Wieczorek,

Find Usages is intended to work with properties in the way it currently works,
though
I agree this is somewhat arguable. However, you can easily filter only usages

of set or get accessor by applying 'Show Read Occurrences' or 'Show Write
Occurrences'
buttons in Find Results view.

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

Hello,

find usages is a very fine functionality.

But I think I found an error on properties. I can find usages for the
properties, but not specialised on get / set.

If like to find only "set"-usages, I found no possibility to do that,
although, i set the cursor on "set".

Is that a bug or a feature?

Is that problem already in tracker, I didnt found it.

Greets

Timo Wieczorek
RuB Software GmbH




0
Comment actions Permalink

Thank you for help.

I have overseen it.

Greets

Timo Wieczorek
"Dmitry Shaporenkov" <dsha@jetbrains.com> schrieb im Newsbeitrag
news:20376632472931191195909@news.intellij.net...

Hello T.Wieczorek,

>

Find Usages is intended to work with properties in the way it currently

works,

though
I agree this is somewhat arguable. However, you can easily filter only

usages
>

of set or get accessor by applying 'Show Read Occurrences' or 'Show Write
Occurrences'
buttons in Find Results view.

>

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

>

Hello,

>

find usages is a very fine functionality.

>

But I think I found an error on properties. I can find usages for the
properties, but not specialised on get / set.

>

If like to find only "set"-usages, I found no possibility to do that,
although, i set the cursor on "set".

>

Is that a bug or a feature?

>

Is that problem already in tracker, I didnt found it.

>

Greets

>

Timo Wieczorek
RuB Software GmbH

>
>
>


0
Comment actions Permalink

I think the current behavoir is confusing and should be considered as a bug.
Currently when you invoke Find Usages on "get" or "set" it finds ALL usages
of a property. Either it should not be available on "get" or "set" at all
or (better) it should show only read or write usages correspondently.
I submitted request to the tracker: http://www.intellij.net/tracker/resharper/viewSCR?publicId=6055

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello T.Wieczorek,

Find Usages is intended to work with properties in the way it
currently works, though I agree this is somewhat arguable. However,
you can easily filter only usages

of set or get accessor by applying 'Show Read Occurrences' or 'Show
Write Occurrences' buttons in Find Results view.

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

>> Hello,
>>
>> find usages is a very fine functionality.
>>
>> But I think I found an error on properties. I can find usages for the
>> properties, but not specialised on get / set.
>>
>> If like to find only "set"-usages, I found no possibility to do that,
>> although, i set the cursor on "set".
>>
>> Is that a bug or a feature?
>>
>> Is that problem already in tracker, I didnt found it.
>>
>> Greets
>>
>> Timo Wieczorek
>> RuB Software GmbH



0

Please sign in to leave a comment.