Type Hierarchy Window is blank

I just installed 224, and have started playing with the File Structure
window. I've had several exceptions, including one that hung Visual Studio
/ Resharper's execption reporter dialog hard (had to kill the process).

Mostly it works, but I've had a few exceptions while navigating.

However, when I view the Type Hierarchy Window, it's always blank. Just a
gray rectangle. It never has any contents. It doesn't seem to be working at
all...

I don't know if this is new with 224 or not, because I haven't looked at
this window previously. I just wanted to check it out.

And yes, the class I had open in the editor is a subclass, so it should have
had parent objects displayed. Am I missing something?

Just FYI.


0
32 comments

After another exception or two, the File Structure Window went blank as
well, and never updated again. I had to shut down Visual Studio and
re-start it, reopening the solution, to get it back.

Still nothing in the Hierarchy Window though.

"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dv7k5l$o7t$1@is.intellij.net...
>I just installed 224, and have started playing with the File Structure
>window. I've had several exceptions, including one that hung Visual Studio
>/ Resharper's execption reporter dialog hard (had to kill the process).
>

Mostly it works, but I've had a few exceptions while navigating.

>

However, when I view the Type Hierarchy Window, it's always blank. Just a
gray rectangle. It never has any contents. It doesn't seem to be working
at all...

>

I don't know if this is new with 224 or not, because I haven't looked at
this window previously. I just wanted to check it out.

>

And yes, the class I had open in the editor is a subclass, so it should
have had parent objects displayed. Am I missing something?

>

Just FYI.

>



0

Hello Paul,

there is some confusion concerning the Type Hierarchy window. In order to
view a type hierarchy,
you should position to a type name, and select 'ReSharper|View|Type Hierarchy'
menu item. Just
using 'ReSharper|Window|Type Hierarchy' only activates the tool window, but
doesn't trigger populating
it.


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

After another exception or two, the File Structure Window went blank
as well, and never updated again. I had to shut down Visual Studio
and re-start it, reopening the solution, to get it back.

Still nothing in the Hierarchy Window though.

"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dv7k5l$o7t$1@is.intellij.net...

>> I just installed 224, and have started playing with the File
>> Structure window. I've had several exceptions, including one that
>> hung Visual Studio / Resharper's execption reporter dialog hard (had
>> to kill the process).
>>
>> Mostly it works, but I've had a few exceptions while navigating.
>>
>> However, when I view the Type Hierarchy Window, it's always blank.
>> Just a gray rectangle. It never has any contents. It doesn't seem to
>> be working at all...
>>
>> I don't know if this is new with 224 or not, because I haven't looked
>> at this window previously. I just wanted to check it out.
>>
>> And yes, the class I had open in the editor is a subclass, so it
>> should have had parent objects displayed. Am I missing something?
>>
>> Just FYI.
>>


0

Dear Dmitry,

In article <c8a894d912893c8c8161e742b7c3d@news.intellij.net>,
dsha@jetbrains.com says...

Hello Paul,

there is some confusion concerning the Type Hierarchy window. In order to
view a type hierarchy,
you should position to a type name,


Yes, which is something I always find a bit confusing. Is there any
argument why functions that work on types don't just select the 'type
you're in'? E.g., while being within the code of a class, this type
would automatically be selected for Type Hierarchy, Find Usages, etc?

Cheers,

Christian

0

Hello Christian,

actually the current system is in a sense more orthogonal - commands under
'Window' menu only activate the respective windows, while there exist special
commands (like 'View|Type Hierarchy') for navigation. But I agree that it
is confusing, and actually everybody runs into this confusion. So I think
it is reasonable to submit a request for this issue, since I'm not sure it
is reflected in the tracker.


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

Dear Dmitry,

In article <c8a894d912893c8c8161e742b7c3d@news.intellij.net>,
dsha@jetbrains.com says...

>> Hello Paul,
>>
>> there is some confusion concerning the Type Hierarchy window. In
>> order to
>> view a type hierarchy,
>> you should position to a type name,

Yes, which is something I always find a bit confusing. Is there any
argument why functions that work on types don't just select the 'type
you're in'? E.g., while being within the code of a class, this type
would automatically be selected for Type Hierarchy, Find Usages, etc?

Cheers,

Christian



0

Hello Christian,

actually the current system is in a sense more orthogonal - commands under
'Window' menu only activate the respective windows, while there exist special
commands (like 'View|Type Hierarchy') for navigation. But I agree that it
is confusing, and actually everybody runs into this confusion. So I think
it is reasonable to submit a request for this issue, since I'm not sure it
is reflected in the tracker.


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

Dear Dmitry,

In article <c8a894d912893c8c8161e742b7c3d@news.intellij.net>,
dsha@jetbrains.com says...

>> Hello Paul,
>>
>> there is some confusion concerning the Type Hierarchy window. In
>> order to
>> view a type hierarchy,
>> you should position to a type name,

Yes, which is something I always find a bit confusing. Is there any
argument why functions that work on types don't just select the 'type
you're in'? E.g., while being within the code of a class, this type
would automatically be selected for Type Hierarchy, Find Usages, etc?

Cheers,

Christian



0

I can say I honestly don't understand what you're saying here.

If I open the Type Hierarchy window, I would expect it to ALWAYS be
populated, based on where the cursor is right now.  It should never be
blank?  What's the point of a blank window?  What's the point of having a
dockable window if it never shows anything unless a cursor is on a specific
type?  That makes zero sense to me.

Now, if I just invoked a key press to look at the type hierarchy of the item
I was on, that would be one thing.  But that wouldn't warrent a "window"
under the "windows" menu item.

I can honestly say I have no clue how you want this to work or how it
actually is supposed to work based on what you said.

It's certainly not intuitive or expected, and thus doesn't seem to fit the
standards of most Jetbrains features! :)

So I still think it's a bug.  In fact, I consider it a stop-ship bug,
because it's useless as-is.  You want me to put a tracker issue in about
this?


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...

Hello Paul,

>

there is some confusion concerning the Type Hierarchy window. In order to
view a type hierarchy,
you should position to a type name, and select 'ReSharper|View|Type
Hierarchy' menu item. Just
using 'ReSharper|Window|Type Hierarchy' only activates the tool window,
but doesn't trigger populating
it.

>
>

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

>
>> After another exception or two, the File Structure Window went blank
>> as well, and never updated again.  I had to shut down Visual Studio
>> and re-start it, reopening the solution, to get it back.
>>
>> Still nothing in the Hierarchy Window though.
>>
>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>> news:dv7k5l$o7t$1@is.intellij.net...
>>
>>> I just installed 224, and have started playing with the File
>>> Structure window.  I've had several exceptions, including one that
>>> hung Visual Studio / Resharper's execption reporter dialog hard (had
>>> to kill the process).
>>>
>>> Mostly it works, but I've had a few exceptions while navigating.
>>>
>>> However, when I view the Type Hierarchy Window, it's always blank.
>>> Just a gray rectangle.  It never has any contents. It doesn't seem to
>>> be working at all...
>>>
>>> I don't know if this is new with 224 or not, because I haven't looked
>>> at this window previously.  I just wanted to check it out.
>>>
>>> And yes, the class I had open in the editor is a subclass, so it
>>> should have had parent objects displayed.  Am I missing something?
>>>
>>> Just FYI.
>>>
>



0

Hello Paul,

yes, please post a request showing that the behavior you expect from the
action
ReSharper|Window|Type Hierarchy doesn't match the actual one.

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

I can say I honestly don't understand what you're saying here.

If I open the Type Hierarchy window, I would expect it to ALWAYS be
populated, based on where the cursor is right now.  It should never be
blank?  What's the point of a blank window?  What's the point of
having a dockable window if it never shows anything unless a cursor is
on a specific type?  That makes zero sense to me.

Now, if I just invoked a key press to look at the type hierarchy of
the item I was on, that would be one thing.  But that wouldn't warrent
a "window" under the "windows" menu item.

I can honestly say I have no clue how you want this to work or how it
actually is supposed to work based on what you said.

It's certainly not intuitive or expected, and thus doesn't seem to fit
the standards of most Jetbrains features! :)

So I still think it's a bug.  In fact, I consider it a stop-ship bug,
because it's useless as-is.  You want me to put a tracker issue in
about this?

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...

>> Hello Paul,
>>
>> there is some confusion concerning the Type Hierarchy window. In
>> order to
>> view a type hierarchy,
>> you should position to a type name, and select 'ReSharper|View|Type
>> Hierarchy' menu item. Just
>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>> window,
>> but doesn't trigger populating
>> it.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> After another exception or two, the File Structure Window went blank
>>> as well, and never updated again.  I had to shut down Visual Studio
>>> and re-start it, reopening the solution, to get it back.
>>>
>>> Still nothing in the Hierarchy Window though.
>>>
>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>
>>>> I just installed 224, and have started playing with the File
>>>> Structure window.  I've had several exceptions, including one that
>>>> hung Visual Studio / Resharper's execption reporter dialog hard
>>>> (had to kill the process).
>>>>
>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>
>>>> However, when I view the Type Hierarchy Window, it's always blank.
>>>> Just a gray rectangle.  It never has any contents. It doesn't seem
>>>> to be working at all...
>>>>
>>>> I don't know if this is new with 224 or not, because I haven't
>>>> looked at this window previously.  I just wanted to check it out.
>>>>
>>>> And yes, the class I had open in the editor is a subclass, so it
>>>> should have had parent objects displayed.  Am I missing something?
>>>>
>>>> Just FYI.
>>>>


0

Okay, but can YOU tell ME how it's supposed to work?  I never ever see
anything but a blank window.  I can click anywhere in a source file I want.
It just stays blank.  If you think it's working, please tell me how to use
it, because for the life of me I cannot figure it out.

What is this window FOR?  I mean right now, not what I think it should be
for.  I really don't understand.

Give me an example of how the current Type Hierarchy Window can be used.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91297768c8169ac1245d9c@news.intellij.net...

Hello Paul,

>

yes, please post a request showing that the behavior you expect from the
action
ReSharper|Window|Type Hierarchy doesn't match the actual one.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> I can say I honestly don't understand what you're saying here.
>>
>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>> populated, based on where the cursor is right now.  It should never be
>> blank?  What's the point of a blank window?  What's the point of
>> having a dockable window if it never shows anything unless a cursor is
>> on a specific type?  That makes zero sense to me.
>>
>> Now, if I just invoked a key press to look at the type hierarchy of
>> the item I was on, that would be one thing.  But that wouldn't warrent
>> a "window" under the "windows" menu item.
>>
>> I can honestly say I have no clue how you want this to work or how it
>> actually is supposed to work based on what you said.
>>
>> It's certainly not intuitive or expected, and thus doesn't seem to fit
>> the standards of most Jetbrains features! :)
>>
>> So I still think it's a bug.  In fact, I consider it a stop-ship bug,
>> because it's useless as-is.  You want me to put a tracker issue in
>> about this?
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> there is some confusion concerning the Type Hierarchy window. In
>>> order to
>>> view a type hierarchy,
>>> you should position to a type name, and select 'ReSharper|View|Type
>>> Hierarchy' menu item. Just
>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>> window,
>>> but doesn't trigger populating
>>> it.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> After another exception or two, the File Structure Window went blank
>>>> as well, and never updated again.  I had to shut down Visual Studio
>>>> and re-start it, reopening the solution, to get it back.
>>>>
>>>> Still nothing in the Hierarchy Window though.
>>>>
>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>
>>>>> I just installed 224, and have started playing with the File
>>>>> Structure window.  I've had several exceptions, including one that
>>>>> hung Visual Studio / Resharper's execption reporter dialog hard
>>>>> (had to kill the process).
>>>>>
>>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>>
>>>>> However, when I view the Type Hierarchy Window, it's always blank.
>>>>> Just a gray rectangle.  It never has any contents. It doesn't seem
>>>>> to be working at all...
>>>>>
>>>>> I don't know if this is new with 224 or not, because I haven't
>>>>> looked at this window previously.  I just wanted to check it out.
>>>>>
>>>>> And yes, the class I had open in the editor is a subclass, so it
>>>>> should have had parent objects displayed.  Am I missing something?
>>>>>
>>>>> Just FYI.
>>>>>
>



0

+1 for the confusion!  I never can get my head around this window.  I agree
with Paul entirely....it should work like the file structure window.

I can say I honestly don't understand what you're saying here.

If I open the Type Hierarchy window, I would expect it to ALWAYS be
populated, based on where the cursor is right now.  It should never be
blank?  What's the point of a blank window?  What's the point of
having a dockable window if it never shows anything unless a cursor is
on a specific type?  That makes zero sense to me.

Now, if I just invoked a key press to look at the type hierarchy of
the item I was on, that would be one thing.  But that wouldn't warrent
a "window" under the "windows" menu item.

I can honestly say I have no clue how you want this to work or how it
actually is supposed to work based on what you said.

It's certainly not intuitive or expected, and thus doesn't seem to fit
the standards of most Jetbrains features! :)

So I still think it's a bug.  In fact, I consider it a stop-ship bug,
because it's useless as-is.  You want me to put a tracker issue in
about this?

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...

>> Hello Paul,
>>
>> there is some confusion concerning the Type Hierarchy window. In
>> order to
>> view a type hierarchy,
>> you should position to a type name, and select 'ReSharper|View|Type
>> Hierarchy' menu item. Just
>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>> window,
>> but doesn't trigger populating
>> it.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> After another exception or two, the File Structure Window went blank
>>> as well, and never updated again.  I had to shut down Visual Studio
>>> and re-start it, reopening the solution, to get it back.
>>>
>>> Still nothing in the Hierarchy Window though.
>>>
>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>
>>>> I just installed 224, and have started playing with the File
>>>> Structure window.  I've had several exceptions, including one that
>>>> hung Visual Studio / Resharper's execption reporter dialog hard
>>>> (had to kill the process).
>>>>
>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>
>>>> However, when I view the Type Hierarchy Window, it's always blank.
>>>> Just a gray rectangle.  It never has any contents. It doesn't seem
>>>> to be working at all...
>>>>
>>>> I don't know if this is new with 224 or not, because I haven't
>>>> looked at this window previously.  I just wanted to check it out.
>>>>
>>>> And yes, the class I had open in the editor is a subclass, so it
>>>> should have had parent objects displayed.  Am I missing something?
>>>>
>>>> Just FYI.
>>>>


0

Hello Paul,

as I said earlier in this thread, the command 'ReSharper|Window|Type Hierarchy'
(like any other
command in the 'ReSharper|Window' menu) only brings the Type Hierarchy window
to the foreground.
In order to view a type hierarchy, one should use the 'ReSharper|View|Type
Hierarchy' command.

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

Okay, but can YOU tell ME how it's supposed to work?  I never ever see
anything but a blank window.  I can click anywhere in a source file I
want. It just stays blank.  If you think it's working, please tell me
how to use it, because for the life of me I cannot figure it out.

What is this window FOR?  I mean right now, not what I think it should
be for.  I really don't understand.

Give me an example of how the current Type Hierarchy Window can be
used.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91297768c8169ac1245d9c@news.intellij.net...

>> Hello Paul,
>>
>> yes, please post a request showing that the behavior you expect from
>> the
>> action
>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I can say I honestly don't understand what you're saying here.
>>>
>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>> populated, based on where the cursor is right now.  It should never
>>> be blank?  What's the point of a blank window?  What's the point of
>>> having a dockable window if it never shows anything unless a cursor
>>> is on a specific type?  That makes zero sense to me.
>>>
>>> Now, if I just invoked a key press to look at the type hierarchy of
>>> the item I was on, that would be one thing.  But that wouldn't
>>> warrent a "window" under the "windows" menu item.
>>>
>>> I can honestly say I have no clue how you want this to work or how
>>> it actually is supposed to work based on what you said.
>>>
>>> It's certainly not intuitive or expected, and thus doesn't seem to
>>> fit the standards of most Jetbrains features! :)
>>>
>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>> bug, because it's useless as-is.  You want me to put a tracker issue
>>> in about this?
>>>
>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>
>>>> Hello Paul,
>>>>
>>>> there is some confusion concerning the Type Hierarchy window. In
>>>> order to
>>>> view a type hierarchy,
>>>> you should position to a type name, and select 'ReSharper|View|Type
>>>> Hierarchy' menu item. Just
>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>> window,
>>>> but doesn't trigger populating
>>>> it.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> After another exception or two, the File Structure Window went
>>>>> blank as well, and never updated again.  I had to shut down Visual
>>>>> Studio and re-start it, reopening the solution, to get it back.
>>>>>
>>>>> Still nothing in the Hierarchy Window though.
>>>>>
>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>
>>>>>> I just installed 224, and have started playing with the File
>>>>>> Structure window.  I've had several exceptions, including one
>>>>>> that hung Visual Studio / Resharper's execption reporter dialog
>>>>>> hard (had to kill the process).
>>>>>>
>>>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>>>
>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>> doesn't seem to be working at all...
>>>>>>
>>>>>> I don't know if this is new with 224 or not, because I haven't
>>>>>> looked at this window previously.  I just wanted to check it out.
>>>>>>
>>>>>> And yes, the class I had open in the editor is a subclass, so it
>>>>>> should have had parent objects displayed.  Am I missing
>>>>>> something?
>>>>>>
>>>>>> Just FYI.
>>>>>>


0

If I open the Type Hierarchy window, I would expect it to ALWAYS be
populated, based on where the cursor is right now.  It should never be
blank?


+1

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

+1 for the confusion!  I never can get my head around this window.  I agree
with Paul entirely....it should work like the file structure window.

I can say I honestly don't understand what you're saying here.

If I open the Type Hierarchy window, I would expect it to ALWAYS be
populated, based on where the cursor is right now.  It should never be
blank?  What's the point of a blank window?  What's the point of
having a dockable window if it never shows anything unless a cursor is
on a specific type?  That makes zero sense to me.

Now, if I just invoked a key press to look at the type hierarchy of
the item I was on, that would be one thing.  But that wouldn't warrent
a "window" under the "windows" menu item.

I can honestly say I have no clue how you want this to work or how it
actually is supposed to work based on what you said.

It's certainly not intuitive or expected, and thus doesn't seem to fit
the standards of most Jetbrains features! :)

So I still think it's a bug.  In fact, I consider it a stop-ship bug,
because it's useless as-is.  You want me to put a tracker issue in
about this?

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...

>> Hello Paul,
>>
>> there is some confusion concerning the Type Hierarchy window. In
>> order to
>> view a type hierarchy,
>> you should position to a type name, and select 'ReSharper|View|Type
>> Hierarchy' menu item. Just
>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>> window,
>> but doesn't trigger populating
>> it.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> After another exception or two, the File Structure Window went blank
>>> as well, and never updated again.  I had to shut down Visual Studio
>>> and re-start it, reopening the solution, to get it back.
>>>
>>> Still nothing in the Hierarchy Window though.
>>>
>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>
>>>> I just installed 224, and have started playing with the File
>>>> Structure window.  I've had several exceptions, including one that
>>>> hung Visual Studio / Resharper's execption reporter dialog hard
>>>> (had to kill the process).
>>>>
>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>
>>>> However, when I view the Type Hierarchy Window, it's always blank.
>>>> Just a gray rectangle.  It never has any contents. It doesn't seem
>>>> to be working at all...
>>>>
>>>> I don't know if this is new with 224 or not, because I haven't
>>>> looked at this window previously.  I just wanted to check it out.
>>>>
>>>> And yes, the class I had open in the editor is a subclass, so it
>>>> should have had parent objects displayed.  Am I missing something?
>>>>
>>>> Just FYI.
>>>>


0

Hello Eugene,

-1.

I often open Type hierarchy to navigate to various entities in the subsystem
I'm working with. It should not auto-change when I move caret over any type.
If I need to, I can issue command to do this. However, there may be some
setting to synchronize or not synchronize TH with current caret type.

Sincerely,
Ilya Ryzhenkov


>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>> populated, based on where the cursor is right now.  It should never
>> be blank?
>>
EP> +1
EP>


0

Hello Ilya,

perhaps a compromise solution would be to put an always visible toolbar into
the
'Type Hierarchy' window that contains a 'Synchronize' button refreshing its
contents
from the current context.


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

Hello Eugene,

-1.

I often open Type hierarchy to navigate to various entities in the
subsystem I'm working with. It should not auto-change when I move
caret over any type. If I need to, I can issue command to do this.
However, there may be some setting to synchronize or not synchronize
TH with current caret type.

Sincerely,
Ilya Ryzhenkov

>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>> populated, based on where the cursor is right now.  It should never
>>> be blank?
>>>
EP>> +1
EP>>


0

Hello Dmitry,

I don't quite get your idea. What is a button, which refresh its contents?
Do you mean button to switch off/on synchronization?
If not, then I would ask to have some way to switch off synchronization,
because I don't want my CPU cycles to be spent for operation I don't want,
i.e. hierarchy calculation.

Sincerely,
Ilya Ryzhenkov


DS> Hello Ilya,
DS>
DS> perhaps a compromise solution would be to put an always visible
DS> toolbar into
DS> the
DS> 'Type Hierarchy' window that contains a 'Synchronize' button
DS> refreshing its
DS> contents
DS> from the current context.
DS> Regards,
DS> Dmitry Shaporenkov
DS> JetBrains, Inc
DS> http://www.jetbrains.com
DS> "Develop with pleasure!"
>> Hello Eugene,
>>
>> -1.
>>
>> I often open Type hierarchy to navigate to various entities in the
>> subsystem I'm working with. It should not auto-change when I move
>> caret over any type. If I need to, I can issue command to do this.
>> However, there may be some setting to synchronize or not synchronize
>> TH with current caret type.
>>
>> Sincerely,
>> Ilya Ryzhenkov
>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>>> populated, based on where the cursor is right now.  It should never
>>>> be blank?
>>>>
EP>>> +1
EP>>>


0

Hello Ilya,

I simply meant a button that would populate Type Hierarchy window based on
the current context,
which would be effectively the same as using 'View|Type Hierarchy'.


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

Hello Dmitry,

I don't quite get your idea. What is a button, which refresh its
contents?
Do you mean button to switch off/on synchronization?
If not, then I would ask to have some way to switch off
synchronization,
because I don't want my CPU cycles to be spent for operation I don't
want,
i.e. hierarchy calculation.
Sincerely,
Ilya Ryzhenkov

DS>> Hello Ilya,
DS>>
DS>> perhaps a compromise solution would be to put an always visible
DS>> toolbar into
DS>> the
DS>> 'Type Hierarchy' window that contains a 'Synchronize' button
DS>> refreshing its
DS>> contents
DS>> from the current context.
DS>> Regards,
DS>> Dmitry Shaporenkov
DS>> JetBrains, Inc
DS>> http://www.jetbrains.com
DS>> "Develop with pleasure!"
>>> Hello Eugene,
>>>
>>> -1.
>>>
>>> I often open Type hierarchy to navigate to various entities in the
>>> subsystem I'm working with. It should not auto-change when I move
>>> caret over any type. If I need to, I can issue command to do this.
>>> However, there may be some setting to synchronize or not synchronize
>>> TH with current caret type.
>>>
>>> Sincerely,
>>> Ilya Ryzhenkov
>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>> be populated, based on where the cursor is right now.  It should
>>>>> never be blank?
>>>>>
EP>>>> +1
EP>>>>


0

Hello Ilya,

I simply meant a button that would populate Type Hierarchy window based on
the current context,
which would be effectively the same as using 'View|Type Hierarchy'.


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

Hello Dmitry,

I don't quite get your idea. What is a button, which refresh its
contents?
Do you mean button to switch off/on synchronization?
If not, then I would ask to have some way to switch off
synchronization,
because I don't want my CPU cycles to be spent for operation I don't
want,
i.e. hierarchy calculation.
Sincerely,
Ilya Ryzhenkov

DS>> Hello Ilya,
DS>>
DS>> perhaps a compromise solution would be to put an always visible
DS>> toolbar into
DS>> the
DS>> 'Type Hierarchy' window that contains a 'Synchronize' button
DS>> refreshing its
DS>> contents
DS>> from the current context.
DS>> Regards,
DS>> Dmitry Shaporenkov
DS>> JetBrains, Inc
DS>> http://www.jetbrains.com
DS>> "Develop with pleasure!"
>>> Hello Eugene,
>>>
>>> -1.
>>>
>>> I often open Type hierarchy to navigate to various entities in the
>>> subsystem I'm working with. It should not auto-change when I move
>>> caret over any type. If I need to, I can issue command to do this.
>>> However, there may be some setting to synchronize or not synchronize
>>> TH with current caret type.
>>>
>>> Sincerely,
>>> Ilya Ryzhenkov
>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>> be populated, based on where the cursor is right now.  It should
>>>>> never be blank?
>>>>>
EP>>>> +1
EP>>>>


0

Okay, but that doesn't really make any sense to me at all.  What's the point
of bringing an empty window to the foreground?  Why isn't it populated with
the type hierarchy of the current class?

And it's simply not true that all the 'window' commands do is bring the
window to the foreground.  The File Structure window is completely distinct,
with distinct functionality, from the File Structure pop-up.

I just don't see any use or point to the Window|Type Hierarchy, since saying
'view type hierarchy' already brings that window up.

It's inconsistent, it's unintuitive, and it doesn't seem useful as-is.  It's
completely the opposite of what I expect from Jetbrains (i.e. consistent,
intuitive, and highly useful)! :)

I submitted a bug-report (not a feature request, because this looks and
feels like a bug to me) to the Tracker.


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...

Hello Paul,

>

as I said earlier in this thread, the command 'ReSharper|Window|Type
Hierarchy' (like any other
command in the 'ReSharper|Window' menu) only brings the Type Hierarchy
window to the foreground.
In order to view a type hierarchy, one should use the 'ReSharper|View|Type
Hierarchy' command.

>

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

>
>> Okay, but can YOU tell ME how it's supposed to work?  I never ever see
>> anything but a blank window.  I can click anywhere in a source file I
>> want. It just stays blank.  If you think it's working, please tell me
>> how to use it, because for the life of me I cannot figure it out.
>>
>> What is this window FOR?  I mean right now, not what I think it should
>> be for.  I really don't understand.
>>
>> Give me an example of how the current Type Hierarchy Window can be
>> used.
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> yes, please post a request showing that the behavior you expect from
>>> the
>>> action
>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> I can say I honestly don't understand what you're saying here.
>>>>
>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>>> populated, based on where the cursor is right now.  It should never
>>>> be blank?  What's the point of a blank window?  What's the point of
>>>> having a dockable window if it never shows anything unless a cursor
>>>> is on a specific type?  That makes zero sense to me.
>>>>
>>>> Now, if I just invoked a key press to look at the type hierarchy of
>>>> the item I was on, that would be one thing.  But that wouldn't
>>>> warrent a "window" under the "windows" menu item.
>>>>
>>>> I can honestly say I have no clue how you want this to work or how
>>>> it actually is supposed to work based on what you said.
>>>>
>>>> It's certainly not intuitive or expected, and thus doesn't seem to
>>>> fit the standards of most Jetbrains features! :)
>>>>
>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>> bug, because it's useless as-is.  You want me to put a tracker issue
>>>> in about this?
>>>>
>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>
>>>>> Hello Paul,
>>>>>
>>>>> there is some confusion concerning the Type Hierarchy window. In
>>>>> order to
>>>>> view a type hierarchy,
>>>>> you should position to a type name, and select 'ReSharper|View|Type
>>>>> Hierarchy' menu item. Just
>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>> window,
>>>>> but doesn't trigger populating
>>>>> it.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> After another exception or two, the File Structure Window went
>>>>>> blank as well, and never updated again.  I had to shut down Visual
>>>>>> Studio and re-start it, reopening the solution, to get it back.
>>>>>>
>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>
>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>
>>>>>>> I just installed 224, and have started playing with the File
>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>> that hung Visual Studio / Resharper's execption reporter dialog
>>>>>>> hard (had to kill the process).
>>>>>>>
>>>>>>> Mostly it works, but I've had a few exceptions while navigating.
>>>>>>>
>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>> doesn't seem to be working at all...
>>>>>>>
>>>>>>> I don't know if this is new with 224 or not, because I haven't
>>>>>>> looked at this window previously.  I just wanted to check it out.
>>>>>>>
>>>>>>> And yes, the class I had open in the editor is a subclass, so it
>>>>>>> should have had parent objects displayed.  Am I missing
>>>>>>> something?
>>>>>>>
>>>>>>> Just FYI.
>>>>>>>
>



0

I don't understand... you actually USE the Type Hierarchy window?  Why don't
you just "View Hierarchy" for what you want?

It seems to me that there are two completely different things here, and the
problem is that Resharper is trying to mush them together while forgetting
one of the functionalities.

The pop-up ("View") should show the type hierarchy you're interested in (on
the cursor), while the dockable window ("Window") should show the type
hierarchy of the current type and allow navigation.

Right now the "Window" version seems utterly useless to me (it comes up
BLANK!  How is that useful?)  And the pop up ("View") does what you want.
So why the -1?

I honestly don't understand.


"Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
news:5992f43b121c628c8172af0b0befa@news.jetbrains.com...

Hello Eugene,

>

-1.

>

I often open Type hierarchy to navigate to various entities in the
subsystem I'm working with. It should not auto-change when I move caret
over any type. If I need to, I can issue command to do this. However,
there may be some setting to synchronize or not synchronize TH with
current caret type.

>

Sincerely,
Ilya Ryzhenkov

>
>
>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>> populated, based on where the cursor is right now.  It should never
>>> be blank?
>>>

EP> +1
EP>



0

Hello Paul,

the point of bringing an empty window to the foreground is providing a way
to show it for the user. It behaves the same way as 'ReSharper|Window|Find
Results',
and for the 'Find Results' tool window the necessity of such a command is
beyond doubts -
you need a way to show it once you have hidden it.
On the other hand, File Structure actually populates its content from the
current file automatically.
We're now considering how to make the behavior of 'ReSharper|Window|Find
Results' less confusing.

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

Okay, but that doesn't really make any sense to me at all.  What's the
point of bringing an empty window to the foreground?  Why isn't it
populated with the type hierarchy of the current class?

And it's simply not true that all the 'window' commands do is bring
the window to the foreground.  The File Structure window is completely
distinct, with distinct functionality, from the File Structure pop-up.

I just don't see any use or point to the Window|Type Hierarchy, since
saying 'view type hierarchy' already brings that window up.

It's inconsistent, it's unintuitive, and it doesn't seem useful as-is.
It's completely the opposite of what I expect from Jetbrains (i.e.
consistent, intuitive, and highly useful)! :)

I submitted a bug-report (not a feature request, because this looks
and feels like a bug to me) to the Tracker.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...

>> Hello Paul,
>>
>> as I said earlier in this thread, the command 'ReSharper|Window|Type
>> Hierarchy' (like any other
>> command in the 'ReSharper|Window' menu) only brings the Type
>> Hierarchy
>> window to the foreground.
>> In order to view a type hierarchy, one should use the
>> 'ReSharper|View|Type
>> Hierarchy' command.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Okay, but can YOU tell ME how it's supposed to work?  I never ever
>>> see anything but a blank window.  I can click anywhere in a source
>>> file I want. It just stays blank.  If you think it's working, please
>>> tell me how to use it, because for the life of me I cannot figure it
>>> out.
>>>
>>> What is this window FOR?  I mean right now, not what I think it
>>> should be for.  I really don't understand.
>>>
>>> Give me an example of how the current Type Hierarchy Window can be
>>> used.
>>>
>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>> message news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>>
>>>> Hello Paul,
>>>>
>>>> yes, please post a request showing that the behavior you expect
>>>> from
>>>> the
>>>> action
>>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> I can say I honestly don't understand what you're saying here.
>>>>>
>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>> be populated, based on where the cursor is right now.  It should
>>>>> never be blank?  What's the point of a blank window?  What's the
>>>>> point of having a dockable window if it never shows anything
>>>>> unless a cursor is on a specific type?  That makes zero sense to
>>>>> me.
>>>>>
>>>>> Now, if I just invoked a key press to look at the type hierarchy
>>>>> of the item I was on, that would be one thing.  But that wouldn't
>>>>> warrent a "window" under the "windows" menu item.
>>>>>
>>>>> I can honestly say I have no clue how you want this to work or how
>>>>> it actually is supposed to work based on what you said.
>>>>>
>>>>> It's certainly not intuitive or expected, and thus doesn't seem to
>>>>> fit the standards of most Jetbrains features! :)
>>>>>
>>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>>> bug, because it's useless as-is.  You want me to put a tracker
>>>>> issue in about this?
>>>>>
>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>>
>>>>>> Hello Paul,
>>>>>>
>>>>>> there is some confusion concerning the Type Hierarchy window. In
>>>>>> order to
>>>>>> view a type hierarchy,
>>>>>> you should position to a type name, and select
>>>>>> 'ReSharper|View|Type
>>>>>> Hierarchy' menu item. Just
>>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>>> window,
>>>>>> but doesn't trigger populating
>>>>>> it.
>>>>>> Regards,
>>>>>> Dmitry Shaporenkov
>>>>>> JetBrains, Inc
>>>>>> http://www.jetbrains.com
>>>>>> "Develop with pleasure!"
>>>>>>> After another exception or two, the File Structure Window went
>>>>>>> blank as well, and never updated again.  I had to shut down
>>>>>>> Visual Studio and re-start it, reopening the solution, to get it
>>>>>>> back.
>>>>>>>
>>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>>
>>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>>
>>>>>>>> I just installed 224, and have started playing with the File
>>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>>> that hung Visual Studio / Resharper's execption reporter dialog
>>>>>>>> hard (had to kill the process).
>>>>>>>>
>>>>>>>> Mostly it works, but I've had a few exceptions while
>>>>>>>> navigating.
>>>>>>>>
>>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>>> doesn't seem to be working at all...
>>>>>>>>
>>>>>>>> I don't know if this is new with 224 or not, because I haven't
>>>>>>>> looked at this window previously.  I just wanted to check it
>>>>>>>> out.
>>>>>>>>
>>>>>>>> And yes, the class I had open in the editor is a subclass, so
>>>>>>>> it should have had parent objects displayed.  Am I missing
>>>>>>>> something?
>>>>>>>>
>>>>>>>> Just FYI.
>>>>>>>>


0

Hello Paul,

in my turn I don't quite understand what your "Window" version will show
if there are
more than one type in the current file. That's different from the File Structure
which
shows the contents of the file, not a type.


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

It seems to me that there are two completely different things here,
and the problem is that Resharper is trying to mush them together
while forgetting one of the functionalities.

The pop-up ("View") should show the type hierarchy you're interested
in (on the cursor), while the dockable window ("Window") should show
the type hierarchy of the current type and allow navigation.



0

I'm still missing something, because can't you always just "View|Type
Hierarchy" to bring it back in view?  What am I missing here?

At the very least, if you call up the Type Hierarchy window, and it's empty,
populated it with the type hierarchy of the current type.

I do like the other idea you expressed about having a button that would sync
the display to the current context (allowing the user to choose which way
they want it to work), but I still am missing something.  View Type
Hierarchy seems completely orthogonal to me than having a docable Type
Hierarchy window.  It's not the same situation at all with the Find Results
window (which makes sense to me exactly as it works now).

The Type Hierarchy View/Window is much more, in my mind, like the File
Structure View (Ctrl-F12) vs Window (docable, with regions and
drag-and-drop).

I just can't wrap my head around the current functioning of the Type
Hierarchy window.  I just would NEVER use it as it is now.  It's completely
redundant to View Type Hierarchy as far as I can tell.  If I want to see the
last type hierarchy, its' still there on a tab in the new View Type
Hierarchy window I call up after closing/hiding the last one.  Right?

I guess I can see you're trying to make this window "fit" the paradigm of
the Find Results window, but it doesn't.  It seems like it more naturally
fits the paradigm of the File Structure window.... doesn't it to you?

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912adab8c8175c7bfbce76@news.intellij.net...

Hello Paul,

>

the point of bringing an empty window to the foreground is providing a way
to show it for the user. It behaves the same way as 'ReSharper|Window|Find
Results',
and for the 'Find Results' tool window the necessity of such a command is
beyond doubts -
you need a way to show it once you have hidden it.
On the other hand, File Structure actually populates its content from the
current file automatically.
We're now considering how to make the behavior of 'ReSharper|Window|Find
Results' less confusing.

>

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

>
>> Okay, but that doesn't really make any sense to me at all.  What's the
>> point of bringing an empty window to the foreground?  Why isn't it
>> populated with the type hierarchy of the current class?
>>
>> And it's simply not true that all the 'window' commands do is bring
>> the window to the foreground.  The File Structure window is completely
>> distinct, with distinct functionality, from the File Structure pop-up.
>>
>> I just don't see any use or point to the Window|Type Hierarchy, since
>> saying 'view type hierarchy' already brings that window up.
>>
>> It's inconsistent, it's unintuitive, and it doesn't seem useful as-is.
>> It's completely the opposite of what I expect from Jetbrains (i.e.
>> consistent, intuitive, and highly useful)! :)
>>
>> I submitted a bug-report (not a feature request, because this looks
>> and feels like a bug to me) to the Tracker.
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> as I said earlier in this thread, the command 'ReSharper|Window|Type
>>> Hierarchy' (like any other
>>> command in the 'ReSharper|Window' menu) only brings the Type
>>> Hierarchy
>>> window to the foreground.
>>> In order to view a type hierarchy, one should use the
>>> 'ReSharper|View|Type
>>> Hierarchy' command.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Okay, but can YOU tell ME how it's supposed to work?  I never ever
>>>> see anything but a blank window.  I can click anywhere in a source
>>>> file I want. It just stays blank.  If you think it's working, please
>>>> tell me how to use it, because for the life of me I cannot figure it
>>>> out.
>>>>
>>>> What is this window FOR?  I mean right now, not what I think it
>>>> should be for.  I really don't understand.
>>>>
>>>> Give me an example of how the current Type Hierarchy Window can be
>>>> used.
>>>>
>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>> message news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>>>
>>>>> Hello Paul,
>>>>>
>>>>> yes, please post a request showing that the behavior you expect
>>>>> from
>>>>> the
>>>>> action
>>>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> I can say I honestly don't understand what you're saying here.
>>>>>>
>>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>>> be populated, based on where the cursor is right now.  It should
>>>>>> never be blank?  What's the point of a blank window?  What's the
>>>>>> point of having a dockable window if it never shows anything
>>>>>> unless a cursor is on a specific type?  That makes zero sense to
>>>>>> me.
>>>>>>
>>>>>> Now, if I just invoked a key press to look at the type hierarchy
>>>>>> of the item I was on, that would be one thing.  But that wouldn't
>>>>>> warrent a "window" under the "windows" menu item.
>>>>>>
>>>>>> I can honestly say I have no clue how you want this to work or how
>>>>>> it actually is supposed to work based on what you said.
>>>>>>
>>>>>> It's certainly not intuitive or expected, and thus doesn't seem to
>>>>>> fit the standards of most Jetbrains features! :)
>>>>>>
>>>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>>>> bug, because it's useless as-is.  You want me to put a tracker
>>>>>> issue in about this?
>>>>>>
>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>>>
>>>>>>> Hello Paul,
>>>>>>>
>>>>>>> there is some confusion concerning the Type Hierarchy window. In
>>>>>>> order to
>>>>>>> view a type hierarchy,
>>>>>>> you should position to a type name, and select
>>>>>>> 'ReSharper|View|Type
>>>>>>> Hierarchy' menu item. Just
>>>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>>>> window,
>>>>>>> but doesn't trigger populating
>>>>>>> it.
>>>>>>> Regards,
>>>>>>> Dmitry Shaporenkov
>>>>>>> JetBrains, Inc
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop with pleasure!"
>>>>>>>> After another exception or two, the File Structure Window went
>>>>>>>> blank as well, and never updated again.  I had to shut down
>>>>>>>> Visual Studio and re-start it, reopening the solution, to get it
>>>>>>>> back.
>>>>>>>>
>>>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>>>
>>>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>>>
>>>>>>>>> I just installed 224, and have started playing with the File
>>>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>>>> that hung Visual Studio / Resharper's execption reporter dialog
>>>>>>>>> hard (had to kill the process).
>>>>>>>>>
>>>>>>>>> Mostly it works, but I've had a few exceptions while
>>>>>>>>> navigating.
>>>>>>>>>
>>>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>>>> doesn't seem to be working at all...
>>>>>>>>>
>>>>>>>>> I don't know if this is new with 224 or not, because I haven't
>>>>>>>>> looked at this window previously.  I just wanted to check it
>>>>>>>>> out.
>>>>>>>>>
>>>>>>>>> And yes, the class I had open in the editor is a subclass, so
>>>>>>>>> it should have had parent objects displayed.  Am I missing
>>>>>>>>> something?
>>>>>>>>>
>>>>>>>>> Just FYI.
>>>>>>>>>
>



0

Again, what is wrong with it working just like File Structure?  If there are
two types in the file, well then, there are two root nodes in the type
hierarchy window.  But even if you don't do that, what's wrong with just
tracking whatever type the cursor is currently in?

I can think of all sorts of different and better ways to handle the window.
Heck, if you allow multiple root nodes, you can always just add new types to
the window as you navigate around your code, with the window always
'tracking' where you are now.  The window can then be used for type
navigation in a broader sense (the 'n' most recently visited types, and any
types up or down those types hierarchy chain).  Or you could keep it really
simple.

Either way, it should never come up blank, and require you to issue yet
another (redundant) command in order to populate it.

Maybe the solution is as simple as just having the Type Hierarchy
popup/window show the current type (that the cursor is IN) if the cursor is
not positioned ON a type?  (that way, the View Type Hierarchy command would
not need to be disabled unless you're outside a type and not on a type).

You guys are smart guys, I'm sure you can come up with something more usable
and less confusing than the current implementation :)


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912ae468c817615b195be4@news.intellij.net...

Hello Paul,

>

in my turn I don't quite understand what your "Window" version will show
if there are
more than one type in the current file. That's different from the File
Structure which
shows the contents of the file, not a type.

>
>

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

>
>> It seems to me that there are two completely different things here,
>> and the problem is that Resharper is trying to mush them together
>> while forgetting one of the functionalities.
>>
>> The pop-up ("View") should show the type hierarchy you're interested
>> in (on the cursor), while the dockable window ("Window") should show
>> the type hierarchy of the current type and allow navigation.
>>
>



0

Again, what is wrong with it working just like File Structure?  If there are
two types in the file, well then, there are two root nodes in the type
hierarchy window.  But even if you don't do that, what's wrong with just
tracking whatever type the cursor is currently in?

I can think of all sorts of different and better ways to handle the window.
Heck, if you allow multiple root nodes, you can always just add new types to
the window as you navigate around your code, with the window always
'tracking' where you are now.  The window can then be used for type
navigation in a broader sense (the 'n' most recently visited types, and any
types up or down those types hierarchy chain).  Or you could keep it really
simple.

Either way, it should never come up blank, and require you to issue yet
another (redundant) command in order to populate it.

Maybe the solution is as simple as just having the Type Hierarchy
popup/window show the current type (that the cursor is IN) if the cursor is
not positioned ON a type?  (that way, the View Type Hierarchy command would
not need to be disabled unless you're outside a type and not on a type).

You guys are smart guys, I'm sure you can come up with something more usable
and less confusing than the current implementation :)


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912ae468c817615b195be4@news.intellij.net...

Hello Paul,

>

in my turn I don't quite understand what your "Window" version will show
if there are
more than one type in the current file. That's different from the File
Structure which
shows the contents of the file, not a type.

>
>

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

>
>> It seems to me that there are two completely different things here,
>> and the problem is that Resharper is trying to mush them together
>> while forgetting one of the functionalities.
>>
>> The pop-up ("View") should show the type hierarchy you're interested
>> in (on the cursor), while the dockable window ("Window") should show
>> the type hierarchy of the current type and allow navigation.
>>
>



0

Let's compare Type Hierarchy window/feature with Find Results window/Find
Usages feature. Do you think there should be 2 versions of Find Usages: one
"pop-up" and another dockable which shows usages of symbol at the caret?
IMO usecases of Find Usages and Type Hierarchy are similar.

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

I don't understand... you actually USE the Type Hierarchy window?  Why
don't you just "View Hierarchy" for what you want?

It seems to me that there are two completely different things here,
and the problem is that Resharper is trying to mush them together
while forgetting one of the functionalities.

The pop-up ("View") should show the type hierarchy you're interested
in (on the cursor), while the dockable window ("Window") should show
the type hierarchy of the current type and allow navigation.

Right now the "Window" version seems utterly useless to me (it comes
up BLANK!  How is that useful?)  And the pop up ("View") does what you
want. So why the -1?

I honestly don't understand.

"Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
news:5992f43b121c628c8172af0b0befa@news.jetbrains.com...

>> Hello Eugene,
>>
>> -1.
>>
>> I often open Type hierarchy to navigate to various entities in the
>> subsystem I'm working with. It should not auto-change when I move
>> caret over any type. If I need to, I can issue command to do this.
>> However, there may be some setting to synchronize or not synchronize
>> TH with current caret type.
>>
>> Sincerely,
>> Ilya Ryzhenkov
>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>>> populated, based on where the cursor is right now.  It should never
>>>> be blank?
>>>>
>> EP> +1
>> EP>


0

Ok, let's try to discuss different usecases where user needs type hierarchy
and look how they fit into different approaches.

I'll start with the usecase which seems to be very typical for me. I have
some interface, I've added a method to it and wish to add appropriate implementations
to its implementations. I invoke View > Type Hierarchy for this interface
and then process its inheritors one by one, making necesssary changes to
them in the editor. That's how it works in the current approach. How does
it work in yours?

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

I'm still missing something, because can't you always just "View|Type
Hierarchy" to bring it back in view?  What am I missing here?

At the very least, if you call up the Type Hierarchy window, and it's
empty, populated it with the type hierarchy of the current type.

I do like the other idea you expressed about having a button that
would sync the display to the current context (allowing the user to
choose which way they want it to work), but I still am missing
something.  View Type Hierarchy seems completely orthogonal to me than
having a docable Type Hierarchy window.  It's not the same situation
at all with the Find Results window (which makes sense to me exactly
as it works now).

The Type Hierarchy View/Window is much more, in my mind, like the File
Structure View (Ctrl-F12) vs Window (docable, with regions and
drag-and-drop).

I just can't wrap my head around the current functioning of the Type
Hierarchy window.  I just would NEVER use it as it is now.  It's
completely redundant to View Type Hierarchy as far as I can tell.  If
I want to see the last type hierarchy, its' still there on a tab in
the new View Type Hierarchy window I call up after closing/hiding the
last one.  Right?

I guess I can see you're trying to make this window "fit" the paradigm
of the Find Results window, but it doesn't.  It seems like it more
naturally fits the paradigm of the File Structure window.... doesn't
it to you?

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d912adab8c8175c7bfbce76@news.intellij.net...

>> Hello Paul,
>>
>> the point of bringing an empty window to the foreground is providing
>> a way
>> to show it for the user. It behaves the same way as
>> 'ReSharper|Window|Find
>> Results',
>> and for the 'Find Results' tool window the necessity of such a
>> command is
>> beyond doubts -
>> you need a way to show it once you have hidden it.
>> On the other hand, File Structure actually populates its content from
>> the
>> current file automatically.
>> We're now considering how to make the behavior of
>> 'ReSharper|Window|Find
>> Results' less confusing.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Okay, but that doesn't really make any sense to me at all.  What's
>>> the point of bringing an empty window to the foreground?  Why isn't
>>> it populated with the type hierarchy of the current class?
>>>
>>> And it's simply not true that all the 'window' commands do is bring
>>> the window to the foreground.  The File Structure window is
>>> completely distinct, with distinct functionality, from the File
>>> Structure pop-up.
>>>
>>> I just don't see any use or point to the Window|Type Hierarchy,
>>> since saying 'view type hierarchy' already brings that window up.
>>>
>>> It's inconsistent, it's unintuitive, and it doesn't seem useful
>>> as-is. It's completely the opposite of what I expect from Jetbrains
>>> (i.e. consistent, intuitive, and highly useful)! :)
>>>
>>> I submitted a bug-report (not a feature request, because this looks
>>> and feels like a bug to me) to the Tracker.
>>>
>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>> message news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...
>>>
>>>> Hello Paul,
>>>>
>>>> as I said earlier in this thread, the command
>>>> 'ReSharper|Window|Type
>>>> Hierarchy' (like any other
>>>> command in the 'ReSharper|Window' menu) only brings the Type
>>>> Hierarchy
>>>> window to the foreground.
>>>> In order to view a type hierarchy, one should use the
>>>> 'ReSharper|View|Type
>>>> Hierarchy' command.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Okay, but can YOU tell ME how it's supposed to work?  I never ever
>>>>> see anything but a blank window.  I can click anywhere in a source
>>>>> file I want. It just stays blank.  If you think it's working,
>>>>> please tell me how to use it, because for the life of me I cannot
>>>>> figure it out.
>>>>>
>>>>> What is this window FOR?  I mean right now, not what I think it
>>>>> should be for.  I really don't understand.
>>>>>
>>>>> Give me an example of how the current Type Hierarchy Window can be
>>>>> used.
>>>>>
>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>> message news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>>>>
>>>>>> Hello Paul,
>>>>>>
>>>>>> yes, please post a request showing that the behavior you expect
>>>>>> from
>>>>>> the
>>>>>> action
>>>>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>>>>> Regards,
>>>>>> Dmitry Shaporenkov
>>>>>> JetBrains, Inc
>>>>>> http://www.jetbrains.com
>>>>>> "Develop with pleasure!"
>>>>>>> I can say I honestly don't understand what you're saying here.
>>>>>>>
>>>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>>>> be populated, based on where the cursor is right now.  It should
>>>>>>> never be blank?  What's the point of a blank window?  What's the
>>>>>>> point of having a dockable window if it never shows anything
>>>>>>> unless a cursor is on a specific type?  That makes zero sense to
>>>>>>> me.
>>>>>>>
>>>>>>> Now, if I just invoked a key press to look at the type hierarchy
>>>>>>> of the item I was on, that would be one thing.  But that
>>>>>>> wouldn't warrent a "window" under the "windows" menu item.
>>>>>>>
>>>>>>> I can honestly say I have no clue how you want this to work or
>>>>>>> how it actually is supposed to work based on what you said.
>>>>>>>
>>>>>>> It's certainly not intuitive or expected, and thus doesn't seem
>>>>>>> to fit the standards of most Jetbrains features! :)
>>>>>>>
>>>>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>>>>> bug, because it's useless as-is.  You want me to put a tracker
>>>>>>> issue in about this?
>>>>>>>
>>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>>>>
>>>>>>>> Hello Paul,
>>>>>>>>
>>>>>>>> there is some confusion concerning the Type Hierarchy window.
>>>>>>>> In
>>>>>>>> order to
>>>>>>>> view a type hierarchy,
>>>>>>>> you should position to a type name, and select
>>>>>>>> 'ReSharper|View|Type
>>>>>>>> Hierarchy' menu item. Just
>>>>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>>>>> window,
>>>>>>>> but doesn't trigger populating
>>>>>>>> it.
>>>>>>>> Regards,
>>>>>>>> Dmitry Shaporenkov
>>>>>>>> JetBrains, Inc
>>>>>>>> http://www.jetbrains.com
>>>>>>>> "Develop with pleasure!"
>>>>>>>>> After another exception or two, the File Structure Window went
>>>>>>>>> blank as well, and never updated again.  I had to shut down
>>>>>>>>> Visual Studio and re-start it, reopening the solution, to get
>>>>>>>>> it back.
>>>>>>>>>
>>>>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>>>>
>>>>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>>>>
>>>>>>>>>> I just installed 224, and have started playing with the File
>>>>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>>>>> that hung Visual Studio / Resharper's execption reporter
>>>>>>>>>> dialog hard (had to kill the process).
>>>>>>>>>>
>>>>>>>>>> Mostly it works, but I've had a few exceptions while
>>>>>>>>>> navigating.
>>>>>>>>>>
>>>>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>>>>> doesn't seem to be working at all...
>>>>>>>>>>
>>>>>>>>>> I don't know if this is new with 224 or not, because I
>>>>>>>>>> haven't looked at this window previously.  I just wanted to
>>>>>>>>>> check it out.
>>>>>>>>>>
>>>>>>>>>> And yes, the class I had open in the editor is a subclass, so
>>>>>>>>>> it should have had parent objects displayed.  Am I missing
>>>>>>>>>> something?
>>>>>>>>>>
>>>>>>>>>> Just FYI.
>>>>>>>>>>


0

I guess that's where we differ.  I can finally see that connection, but it
was completely unintuitive to me.

To me, Hierarchy should work like File structure.  It's a navigational aid.
I'd like to have it docked like I do the File Structure window and see it
reflect where I am, like the File Structure window works.

Otherwise, what is the point, really?  View Type Hierarchy brings up the
window again if I lose it...  why have Window Type Hierarchy?

(to be honest, I don't use Window Find Results much either as it's usually
tabbed, docked, etc while I need it, and closed when I'm done.  And it comes
back up just fine the next time I do a find operation)

I just don't see it being equivalent to the Find Results window in my mind.
I can see how you want it to operate like that now, but that operation never
would have occured to me, and still doesn't strike me as at all useful.  If
I bring up the Type Hierarchy window, why should it ever be blank?  Why
should I then have to issue another command to populate it?  One that is
completely redundant?  If I want to keep Type Hierarchy docked, what's the
point if it doesn't track what I'm doing and where I am, and just stays
blank until I do a "view type hierarchy" explictly?

Am I making any sense to you?

I keep the File Structure window docked all the time (and I can't wait until
it remembers that :) because it's so useful.  A Type Hierarchy window is
less useful, but it's main use for me would still be informational AND
navigational.... like the File Structure window is.  Not specifically
related to a temporary task, like a find results window.


"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:3fdb29a6aee1e8c817660d46cf33@news.intellij.net...

Let's compare Type Hierarchy window/feature with Find Results window/Find
Usages feature. Do you think there should be 2 versions of Find Usages:
one "pop-up" and another dockable which shows usages of symbol at the
caret? IMO usecases of Find Usages and Type Hierarchy are similar.

>

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

>
>> I don't understand... you actually USE the Type Hierarchy window?  Why
>> don't you just "View Hierarchy" for what you want?
>>
>> It seems to me that there are two completely different things here,
>> and the problem is that Resharper is trying to mush them together
>> while forgetting one of the functionalities.
>>
>> The pop-up ("View") should show the type hierarchy you're interested
>> in (on the cursor), while the dockable window ("Window") should show
>> the type hierarchy of the current type and allow navigation.
>>
>> Right now the "Window" version seems utterly useless to me (it comes
>> up BLANK!  How is that useful?)  And the pop up ("View") does what you
>> want. So why the -1?
>>
>> I honestly don't understand.
>>
>> "Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
>> news:5992f43b121c628c8172af0b0befa@news.jetbrains.com...
>>
>>> Hello Eugene,
>>>
>>> -1.
>>>
>>> I often open Type hierarchy to navigate to various entities in the
>>> subsystem I'm working with. It should not auto-change when I move
>>> caret over any type. If I need to, I can issue command to do this.
>>> However, there may be some setting to synchronize or not synchronize
>>> TH with current caret type.
>>>
>>> Sincerely,
>>> Ilya Ryzhenkov
>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS be
>>>>> populated, based on where the cursor is right now.  It should never
>>>>> be blank?
>>>>>
>>> EP> +1
>>> EP>
>



0

My usecase is:  I have Type Hierarchy docked, just above my File Structure
window.  Why is it blank?  Why won't it populate?  What is it doing there?
Or I bring up the window for the first time... and it's just this blank
window floating there telling me nothing.  What the heck is it?  I click on
things, and it doens't change.  It's mute.  It gives no indication of its
function or usefulness.  I swear, I stared at this blank window and tried my
damnedest to figure out how to make it show something for the longest time.
It looked exactly like a bug to me.  It never occured to me that this was
the SAME window as "View Type Hierarchy" and that I'd need to invoke that
command to make it show anything.  I don't need to do that with File
Structure, so why with Type Hierarchy?  It made no sense to me.  It made me
wonder why was the Window File Structure thing there in the first place?

Once you understand the File Structure window's operation (and how it's
different from the pop-up), this Type Hierarchy window makes NO sense at
all.

It never would have occured to me that I should relate the Type Hierarchy
window to the Find Usages, and not at all to the File Structure.  It's
inconsistent and confusing.

Even if the Type Hierarchy window defaulted to the current type when I first
bring it up (instead of being blank), I'd still have considered it a bug
when I couldn't get the contents to change at all by clicking in various
places (on different type names, in different types in different files).

Do you see what I mean?  The fact that you have to manually INVOKE an update
seems odd for this type of window.  Imagine a File Structure window that
behaved that way... it was static (and possibly BLANK) until you invoked
some sort of "update this file structure window" command.  Does that make
any sense?




"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:3fdb29a6aee308c817679149b633@news.intellij.net...

Ok, let's try to discuss different usecases where user needs type
hierarchy and look how they fit into different approaches.

>

I'll start with the usecase which seems to be very typical for me. I have
some interface, I've added a method to it and wish to add appropriate
implementations to its implementations. I invoke View > Type Hierarchy for
this interface and then process its inheritors one by one, making
necesssary changes to them in the editor. That's how it works in the
current approach. How does it work in yours?

>

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

>
>> I'm still missing something, because can't you always just "View|Type
>> Hierarchy" to bring it back in view?  What am I missing here?
>>
>> At the very least, if you call up the Type Hierarchy window, and it's
>> empty, populated it with the type hierarchy of the current type.
>>
>> I do like the other idea you expressed about having a button that
>> would sync the display to the current context (allowing the user to
>> choose which way they want it to work), but I still am missing
>> something.  View Type Hierarchy seems completely orthogonal to me than
>> having a docable Type Hierarchy window.  It's not the same situation
>> at all with the Find Results window (which makes sense to me exactly
>> as it works now).
>>
>> The Type Hierarchy View/Window is much more, in my mind, like the File
>> Structure View (Ctrl-F12) vs Window (docable, with regions and
>> drag-and-drop).
>>
>> I just can't wrap my head around the current functioning of the Type
>> Hierarchy window.  I just would NEVER use it as it is now.  It's
>> completely redundant to View Type Hierarchy as far as I can tell.  If
>> I want to see the last type hierarchy, its' still there on a tab in
>> the new View Type Hierarchy window I call up after closing/hiding the
>> last one.  Right?
>>
>> I guess I can see you're trying to make this window "fit" the paradigm
>> of the Find Results window, but it doesn't.  It seems like it more
>> naturally fits the paradigm of the File Structure window.... doesn't
>> it to you?
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d912adab8c8175c7bfbce76@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> the point of bringing an empty window to the foreground is providing
>>> a way
>>> to show it for the user. It behaves the same way as
>>> 'ReSharper|Window|Find
>>> Results',
>>> and for the 'Find Results' tool window the necessity of such a
>>> command is
>>> beyond doubts -
>>> you need a way to show it once you have hidden it.
>>> On the other hand, File Structure actually populates its content from
>>> the
>>> current file automatically.
>>> We're now considering how to make the behavior of
>>> 'ReSharper|Window|Find
>>> Results' less confusing.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Okay, but that doesn't really make any sense to me at all.  What's
>>>> the point of bringing an empty window to the foreground?  Why isn't
>>>> it populated with the type hierarchy of the current class?
>>>>
>>>> And it's simply not true that all the 'window' commands do is bring
>>>> the window to the foreground.  The File Structure window is
>>>> completely distinct, with distinct functionality, from the File
>>>> Structure pop-up.
>>>>
>>>> I just don't see any use or point to the Window|Type Hierarchy,
>>>> since saying 'view type hierarchy' already brings that window up.
>>>>
>>>> It's inconsistent, it's unintuitive, and it doesn't seem useful
>>>> as-is. It's completely the opposite of what I expect from Jetbrains
>>>> (i.e. consistent, intuitive, and highly useful)! :)
>>>>
>>>> I submitted a bug-report (not a feature request, because this looks
>>>> and feels like a bug to me) to the Tracker.
>>>>
>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>> message news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...
>>>>
>>>>> Hello Paul,
>>>>>
>>>>> as I said earlier in this thread, the command
>>>>> 'ReSharper|Window|Type
>>>>> Hierarchy' (like any other
>>>>> command in the 'ReSharper|Window' menu) only brings the Type
>>>>> Hierarchy
>>>>> window to the foreground.
>>>>> In order to view a type hierarchy, one should use the
>>>>> 'ReSharper|View|Type
>>>>> Hierarchy' command.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> Okay, but can YOU tell ME how it's supposed to work?  I never ever
>>>>>> see anything but a blank window.  I can click anywhere in a source
>>>>>> file I want. It just stays blank.  If you think it's working,
>>>>>> please tell me how to use it, because for the life of me I cannot
>>>>>> figure it out.
>>>>>>
>>>>>> What is this window FOR?  I mean right now, not what I think it
>>>>>> should be for.  I really don't understand.
>>>>>>
>>>>>> Give me an example of how the current Type Hierarchy Window can be
>>>>>> used.
>>>>>>
>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>> message news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>>>>>
>>>>>>> Hello Paul,
>>>>>>>
>>>>>>> yes, please post a request showing that the behavior you expect
>>>>>>> from
>>>>>>> the
>>>>>>> action
>>>>>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>>>>>> Regards,
>>>>>>> Dmitry Shaporenkov
>>>>>>> JetBrains, Inc
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop with pleasure!"
>>>>>>>> I can say I honestly don't understand what you're saying here.
>>>>>>>>
>>>>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>>>>> be populated, based on where the cursor is right now.  It should
>>>>>>>> never be blank?  What's the point of a blank window?  What's the
>>>>>>>> point of having a dockable window if it never shows anything
>>>>>>>> unless a cursor is on a specific type?  That makes zero sense to
>>>>>>>> me.
>>>>>>>>
>>>>>>>> Now, if I just invoked a key press to look at the type hierarchy
>>>>>>>> of the item I was on, that would be one thing.  But that
>>>>>>>> wouldn't warrent a "window" under the "windows" menu item.
>>>>>>>>
>>>>>>>> I can honestly say I have no clue how you want this to work or
>>>>>>>> how it actually is supposed to work based on what you said.
>>>>>>>>
>>>>>>>> It's certainly not intuitive or expected, and thus doesn't seem
>>>>>>>> to fit the standards of most Jetbrains features! :)
>>>>>>>>
>>>>>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>>>>>> bug, because it's useless as-is.  You want me to put a tracker
>>>>>>>> issue in about this?
>>>>>>>>
>>>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>>>>>
>>>>>>>>> Hello Paul,
>>>>>>>>>
>>>>>>>>> there is some confusion concerning the Type Hierarchy window.
>>>>>>>>> In
>>>>>>>>> order to
>>>>>>>>> view a type hierarchy,
>>>>>>>>> you should position to a type name, and select
>>>>>>>>> 'ReSharper|View|Type
>>>>>>>>> Hierarchy' menu item. Just
>>>>>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>>>>>> window,
>>>>>>>>> but doesn't trigger populating
>>>>>>>>> it.
>>>>>>>>> Regards,
>>>>>>>>> Dmitry Shaporenkov
>>>>>>>>> JetBrains, Inc
>>>>>>>>> http://www.jetbrains.com
>>>>>>>>> "Develop with pleasure!"
>>>>>>>>>> After another exception or two, the File Structure Window went
>>>>>>>>>> blank as well, and never updated again.  I had to shut down
>>>>>>>>>> Visual Studio and re-start it, reopening the solution, to get
>>>>>>>>>> it back.
>>>>>>>>>>
>>>>>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>>>>>
>>>>>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>>>>>
>>>>>>>>>>> I just installed 224, and have started playing with the File
>>>>>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>>>>>> that hung Visual Studio / Resharper's execption reporter
>>>>>>>>>>> dialog hard (had to kill the process).
>>>>>>>>>>>
>>>>>>>>>>> Mostly it works, but I've had a few exceptions while
>>>>>>>>>>> navigating.
>>>>>>>>>>>
>>>>>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>>>>>> doesn't seem to be working at all...
>>>>>>>>>>>
>>>>>>>>>>> I don't know if this is new with 224 or not, because I
>>>>>>>>>>> haven't looked at this window previously.  I just wanted to
>>>>>>>>>>> check it out.
>>>>>>>>>>>
>>>>>>>>>>> And yes, the class I had open in the editor is a subclass, so
>>>>>>>>>>> it should have had parent objects displayed.  Am I missing
>>>>>>>>>>> something?
>>>>>>>>>>>
>>>>>>>>>>> Just FYI.
>>>>>>>>>>>
>



0

My usecase is:  I have Type Hierarchy docked, just above my File Structure
window.  Why is it blank?  Why won't it populate?  What is it doing there?
Or I bring up the window for the first time... and it's just this blank
window floating there telling me nothing.  What the heck is it?  I click on
things, and it doens't change.  It's mute.  It gives no indication of its
function or usefulness.  I swear, I stared at this blank window and tried my
damnedest to figure out how to make it show something for the longest time.
It looked exactly like a bug to me.  It never occured to me that this was
the SAME window as "View Type Hierarchy" and that I'd need to invoke that
command to make it show anything.  I don't need to do that with File
Structure, so why with Type Hierarchy?  It made no sense to me.  It made me
wonder why was the Window File Structure thing there in the first place?

Once you understand the File Structure window's operation (and how it's
different from the pop-up), this Type Hierarchy window makes NO sense at
all.

It never would have occured to me that I should relate the Type Hierarchy
window to the Find Usages, and not at all to the File Structure.  It's
inconsistent and confusing.

Even if the Type Hierarchy window defaulted to the current type when I first
bring it up (instead of being blank), I'd still have considered it a bug
when I couldn't get the contents to change at all by clicking in various
places (on different type names, in different types in different files).

Do you see what I mean?  The fact that you have to manually INVOKE an update
seems odd for this type of window.  Imagine a File Structure window that
behaved that way... it was static (and possibly BLANK) until you invoked
some sort of "update this file structure window" command.  Does that make
any sense?




"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:3fdb29a6aee308c817679149b633@news.intellij.net...

Ok, let's try to discuss different usecases where user needs type
hierarchy and look how they fit into different approaches.

>

I'll start with the usecase which seems to be very typical for me. I have
some interface, I've added a method to it and wish to add appropriate
implementations to its implementations. I invoke View > Type Hierarchy for
this interface and then process its inheritors one by one, making
necesssary changes to them in the editor. That's how it works in the
current approach. How does it work in yours?

>

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

>
>> I'm still missing something, because can't you always just "View|Type
>> Hierarchy" to bring it back in view?  What am I missing here?
>>
>> At the very least, if you call up the Type Hierarchy window, and it's
>> empty, populated it with the type hierarchy of the current type.
>>
>> I do like the other idea you expressed about having a button that
>> would sync the display to the current context (allowing the user to
>> choose which way they want it to work), but I still am missing
>> something.  View Type Hierarchy seems completely orthogonal to me than
>> having a docable Type Hierarchy window.  It's not the same situation
>> at all with the Find Results window (which makes sense to me exactly
>> as it works now).
>>
>> The Type Hierarchy View/Window is much more, in my mind, like the File
>> Structure View (Ctrl-F12) vs Window (docable, with regions and
>> drag-and-drop).
>>
>> I just can't wrap my head around the current functioning of the Type
>> Hierarchy window.  I just would NEVER use it as it is now.  It's
>> completely redundant to View Type Hierarchy as far as I can tell.  If
>> I want to see the last type hierarchy, its' still there on a tab in
>> the new View Type Hierarchy window I call up after closing/hiding the
>> last one.  Right?
>>
>> I guess I can see you're trying to make this window "fit" the paradigm
>> of the Find Results window, but it doesn't.  It seems like it more
>> naturally fits the paradigm of the File Structure window.... doesn't
>> it to you?
>>
>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
>> news:c8a894d912adab8c8175c7bfbce76@news.intellij.net...
>>
>>> Hello Paul,
>>>
>>> the point of bringing an empty window to the foreground is providing
>>> a way
>>> to show it for the user. It behaves the same way as
>>> 'ReSharper|Window|Find
>>> Results',
>>> and for the 'Find Results' tool window the necessity of such a
>>> command is
>>> beyond doubts -
>>> you need a way to show it once you have hidden it.
>>> On the other hand, File Structure actually populates its content from
>>> the
>>> current file automatically.
>>> We're now considering how to make the behavior of
>>> 'ReSharper|Window|Find
>>> Results' less confusing.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Okay, but that doesn't really make any sense to me at all.  What's
>>>> the point of bringing an empty window to the foreground?  Why isn't
>>>> it populated with the type hierarchy of the current class?
>>>>
>>>> And it's simply not true that all the 'window' commands do is bring
>>>> the window to the foreground.  The File Structure window is
>>>> completely distinct, with distinct functionality, from the File
>>>> Structure pop-up.
>>>>
>>>> I just don't see any use or point to the Window|Type Hierarchy,
>>>> since saying 'view type hierarchy' already brings that window up.
>>>>
>>>> It's inconsistent, it's unintuitive, and it doesn't seem useful
>>>> as-is. It's completely the opposite of what I expect from Jetbrains
>>>> (i.e. consistent, intuitive, and highly useful)! :)
>>>>
>>>> I submitted a bug-report (not a feature request, because this looks
>>>> and feels like a bug to me) to the Tracker.
>>>>
>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>> message news:c8a894d912a0498c816e8d9bb514a@news.intellij.net...
>>>>
>>>>> Hello Paul,
>>>>>
>>>>> as I said earlier in this thread, the command
>>>>> 'ReSharper|Window|Type
>>>>> Hierarchy' (like any other
>>>>> command in the 'ReSharper|Window' menu) only brings the Type
>>>>> Hierarchy
>>>>> window to the foreground.
>>>>> In order to view a type hierarchy, one should use the
>>>>> 'ReSharper|View|Type
>>>>> Hierarchy' command.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> Okay, but can YOU tell ME how it's supposed to work?  I never ever
>>>>>> see anything but a blank window.  I can click anywhere in a source
>>>>>> file I want. It just stays blank.  If you think it's working,
>>>>>> please tell me how to use it, because for the life of me I cannot
>>>>>> figure it out.
>>>>>>
>>>>>> What is this window FOR?  I mean right now, not what I think it
>>>>>> should be for.  I really don't understand.
>>>>>>
>>>>>> Give me an example of how the current Type Hierarchy Window can be
>>>>>> used.
>>>>>>
>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>> message news:c8a894d91297768c8169ac1245d9c@news.intellij.net...
>>>>>>
>>>>>>> Hello Paul,
>>>>>>>
>>>>>>> yes, please post a request showing that the behavior you expect
>>>>>>> from
>>>>>>> the
>>>>>>> action
>>>>>>> ReSharper|Window|Type Hierarchy doesn't match the actual one.
>>>>>>> Regards,
>>>>>>> Dmitry Shaporenkov
>>>>>>> JetBrains, Inc
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop with pleasure!"
>>>>>>>> I can say I honestly don't understand what you're saying here.
>>>>>>>>
>>>>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>>>>> be populated, based on where the cursor is right now.  It should
>>>>>>>> never be blank?  What's the point of a blank window?  What's the
>>>>>>>> point of having a dockable window if it never shows anything
>>>>>>>> unless a cursor is on a specific type?  That makes zero sense to
>>>>>>>> me.
>>>>>>>>
>>>>>>>> Now, if I just invoked a key press to look at the type hierarchy
>>>>>>>> of the item I was on, that would be one thing.  But that
>>>>>>>> wouldn't warrent a "window" under the "windows" menu item.
>>>>>>>>
>>>>>>>> I can honestly say I have no clue how you want this to work or
>>>>>>>> how it actually is supposed to work based on what you said.
>>>>>>>>
>>>>>>>> It's certainly not intuitive or expected, and thus doesn't seem
>>>>>>>> to fit the standards of most Jetbrains features! :)
>>>>>>>>
>>>>>>>> So I still think it's a bug.  In fact, I consider it a stop-ship
>>>>>>>> bug, because it's useless as-is.  You want me to put a tracker
>>>>>>>> issue in about this?
>>>>>>>>
>>>>>>>> "Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in
>>>>>>>> message news:c8a894d912893c8c8161e742b7c3d@news.intellij.net...
>>>>>>>>
>>>>>>>>> Hello Paul,
>>>>>>>>>
>>>>>>>>> there is some confusion concerning the Type Hierarchy window.
>>>>>>>>> In
>>>>>>>>> order to
>>>>>>>>> view a type hierarchy,
>>>>>>>>> you should position to a type name, and select
>>>>>>>>> 'ReSharper|View|Type
>>>>>>>>> Hierarchy' menu item. Just
>>>>>>>>> using 'ReSharper|Window|Type Hierarchy' only activates the tool
>>>>>>>>> window,
>>>>>>>>> but doesn't trigger populating
>>>>>>>>> it.
>>>>>>>>> Regards,
>>>>>>>>> Dmitry Shaporenkov
>>>>>>>>> JetBrains, Inc
>>>>>>>>> http://www.jetbrains.com
>>>>>>>>> "Develop with pleasure!"
>>>>>>>>>> After another exception or two, the File Structure Window went
>>>>>>>>>> blank as well, and never updated again.  I had to shut down
>>>>>>>>>> Visual Studio and re-start it, reopening the solution, to get
>>>>>>>>>> it back.
>>>>>>>>>>
>>>>>>>>>> Still nothing in the Hierarchy Window though.
>>>>>>>>>>
>>>>>>>>>> "Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
>>>>>>>>>> news:dv7k5l$o7t$1@is.intellij.net...
>>>>>>>>>>
>>>>>>>>>>> I just installed 224, and have started playing with the File
>>>>>>>>>>> Structure window.  I've had several exceptions, including one
>>>>>>>>>>> that hung Visual Studio / Resharper's execption reporter
>>>>>>>>>>> dialog hard (had to kill the process).
>>>>>>>>>>>
>>>>>>>>>>> Mostly it works, but I've had a few exceptions while
>>>>>>>>>>> navigating.
>>>>>>>>>>>
>>>>>>>>>>> However, when I view the Type Hierarchy Window, it's always
>>>>>>>>>>> blank. Just a gray rectangle.  It never has any contents. It
>>>>>>>>>>> doesn't seem to be working at all...
>>>>>>>>>>>
>>>>>>>>>>> I don't know if this is new with 224 or not, because I
>>>>>>>>>>> haven't looked at this window previously.  I just wanted to
>>>>>>>>>>> check it out.
>>>>>>>>>>>
>>>>>>>>>>> And yes, the class I had open in the editor is a subclass, so
>>>>>>>>>>> it should have had parent objects displayed.  Am I missing
>>>>>>>>>>> something?
>>>>>>>>>>>
>>>>>>>>>>> Just FYI.
>>>>>>>>>>>
>



0

To avoid the confusing, we'll add explanation text to the Type Hierarchy
window when it's empty.

As for usecases for Type Hierarchy which is in sync with the caret and auto-updated,
I still don't see them. Also implementing such functionality could slow down
the application.

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

I guess that's where we differ.  I can finally see that connection,
but it was completely unintuitive to me.

To me, Hierarchy should work like File structure.  It's a navigational
aid. I'd like to have it docked like I do the File Structure window
and see it reflect where I am, like the File Structure window works.

Otherwise, what is the point, really?  View Type Hierarchy brings up
the window again if I lose it...  why have Window Type Hierarchy?

(to be honest, I don't use Window Find Results much either as it's
usually tabbed, docked, etc while I need it, and closed when I'm done.
And it comes back up just fine the next time I do a find operation)

I just don't see it being equivalent to the Find Results window in my
mind. I can see how you want it to operate like that now, but that
operation never would have occured to me, and still doesn't strike me
as at all useful.  If I bring up the Type Hierarchy window, why should
it ever be blank?  Why should I then have to issue another command to
populate it?  One that is completely redundant?  If I want to keep
Type Hierarchy docked, what's the point if it doesn't track what I'm
doing and where I am, and just stays blank until I do a "view type
hierarchy" explictly?

Am I making any sense to you?

I keep the File Structure window docked all the time (and I can't wait
until it remembers that :) because it's so useful.  A Type Hierarchy
window is less useful, but it's main use for me would still be
informational AND navigational.... like the File Structure window is.
Not specifically related to a temporary task, like a find results
window.

"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in
message news:3fdb29a6aee1e8c817660d46cf33@news.intellij.net...

>> Let's compare Type Hierarchy window/feature with Find Results
>> window/Find Usages feature. Do you think there should be 2 versions
>> of Find Usages: one "pop-up" and another dockable which shows usages
>> of symbol at the caret? IMO usecases of Find Usages and Type
>> Hierarchy are similar.
>>
>> Valentin Kipiatkov
>> Chief Scientist, Vice President of Product Development
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I don't understand... you actually USE the Type Hierarchy window?
>>> Why don't you just "View Hierarchy" for what you want?
>>>
>>> It seems to me that there are two completely different things here,
>>> and the problem is that Resharper is trying to mush them together
>>> while forgetting one of the functionalities.
>>>
>>> The pop-up ("View") should show the type hierarchy you're interested
>>> in (on the cursor), while the dockable window ("Window") should show
>>> the type hierarchy of the current type and allow navigation.
>>>
>>> Right now the "Window" version seems utterly useless to me (it comes
>>> up BLANK!  How is that useful?)  And the pop up ("View") does what
>>> you want. So why the -1?
>>>
>>> I honestly don't understand.
>>>
>>> "Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
>>> news:5992f43b121c628c8172af0b0befa@news.jetbrains.com...
>>>
>>>> Hello Eugene,
>>>>
>>>> -1.
>>>>
>>>> I often open Type hierarchy to navigate to various entities in the
>>>> subsystem I'm working with. It should not auto-change when I move
>>>> caret over any type. If I need to, I can issue command to do this.
>>>> However, there may be some setting to synchronize or not
>>>> synchronize TH with current caret type.
>>>>
>>>> Sincerely,
>>>> Ilya Ryzhenkov
>>>>>> If I open the Type Hierarchy window, I would expect it to ALWAYS
>>>>>> be populated, based on where the cursor is right now.  It should
>>>>>> never be blank?
>>>>>>
>>>> EP> +1
>>>> EP>


0

Please sign in to leave a comment.