StructureView and F12

I have implemented the structureview-related classes and the structure
is correctly shown in the "Show structure". But using the structure
popup via F12, only the elements from the first level are shown.

Is there a way to detect where the structure model is used and then
manually flatten the tree. Or an option to show all elements?

2 comments

Hello Sven,

SS> I have implemented the structureview-related classes and the
SS> structure is correctly shown in the "Show structure". But using the
SS> structure popup via F12, only the elements from the first level are
SS> shown.
SS>
SS> Is there a way to detect where the structure model is used and then
SS> manually flatten the tree. Or an option to show all elements?

No, there is no such option. The file structure popup always shows only a
single level of the structure view tree, and allows browsing to upper / lower
levels by pressing Enter.

Correct positioning to the active element in the file structure popup for
custom languages was fixed very recently (build 3512 should contain the fix).

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Ok, I see.
But in the popup there is no marker that there are child-elements.
Take an .xsd file for example. In 'show structure' there are the little
tree-icons (so I see there are child elements) and it also prints
some additional information ('+ <> xsd:element (name="XXX")'). In the
popup I only see '<> xsd:element' which doesn't help at all.

Maybe some improvements are possible here.

Dmitry Jemerov (JetBrains) schrieb:

Hello Sven,

SS> I have implemented the structureview-related classes and the
SS> structure is correctly shown in the "Show structure". But using the
SS> structure popup via F12, only the elements from the first level are
SS> shown.
SS> SS> Is there a way to detect where the structure model is used and then
SS> manually flatten the tree. Or an option to show all elements?

No, there is no such option. The file structure popup always shows only
a single level of the structure view tree, and allows browsing to upper
/ lower levels by pressing Enter.

Correct positioning to the active element in the file structure popup
for custom languages was fixed very recently (build 3512 should contain
the fix).

0

Please sign in to leave a comment.