The structure tool window is not updating with information for the selected tab or file. Follow
When I installed version 1.1, I couldn't get the structure window to show up like I had it in 1.0. I tried to show it by enabling it in the setting in the Window menu, but it would not appear. I also tried the Alt + 7 hot key which didn't work either. I finnally got it to show up by with the Restore Default Layout option, but it does not update with information for the selected tab or file. Now the Tool Windows menu option is grayed out for me, so I can't experiment with turning it on and off.
The documentation states:
The Structure tool window displays the structure of a file currently opened in the editor, or selected in the Project tool window. For diagrams, this tool window shows the diagram preview.
1. Why is the Tool Windows menu option grayed out?
2. How can I get the structure window to show the relevant information for the current tab?
3. Is there a way to have the methods collapsed by default in the Stucture window? Even when I collapse them, they expand themselves if you show and hide the window.
On a side note, PyCharm does many things better than Wing IDE, but the Structure window is not one of them. I hope to see some of these features down the road, mainly the collapsed methods.
Wing's Source Browser:
- has small unobtrusive icons
- know's the difference between functions and methods
- has collapsed methods by default so is easier to read
- shows the base class name
- lets you drill down to the attributes
- lets you browse the current module or the project classes
- is displayed by default
Please sign in to leave a comment.
Hi,
I agree with Troy (second part of his contribution)
On a side note, PyCharm does many things better than Wing IDE, but the Structure window is not one of them. I hope to see some of these features down the road, mainly the collapsed methods
are the anything`s of the following planed ?
- has small unobtrusive icons
- know's the difference between functions and methods and maybe non-callable attributes
- has collapsed methods by default so is easier to read
- shows the base class name
- lets you drill down to the attributes
- lets you browse the current module or the project classes
- is displayed by default
Hello,
We don't currently plan to change all icons in the structure view, and I
personally don't think that Wing's icons would be an improvement.
http://youtrack.jetbrains.net/issue/PY-3369
This is already the case in the current version of PyCharm.
http://youtrack.jetbrains.net/issue/PY-3370
http://youtrack.jetbrains.net/issue/PY-3371
The Structure View displays the structure of the focused file. If the focus
is in the editor, it displays the structure of the file being edited. If
the focus is in the Project view, it displays the structure of the file selected
in the Project view.
PyCharm remembers the state of toolwindows. If you show the Structure view
once, it will remain visible.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello,
thanx for the fast update, a few things left:
-> I´m with you, Icons (Design) looks alot more "uptodate" in PyCharm ...
well .. think I don`t tell you something new with: 'First functionality, then "the Design"' ... if both are present -> perfect !
In WingIDE it helps alot to see if it is a non-callable (in Java called Instance-Attribute ?) or a callable ... and not only in the "Structure View", also during Coding using Code Completion.
-> View for select file is great, are their some considerations to make this feature possible Project wide ?
thx again ...
Hello Peter,
What exactly do you mean by "project wide"?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
sorry for "easy going" ..
-> example:
Project contains 4 Moduls ( 4 Files) and for every File the "structure" of them is shown in a single Tree... like SourceBrowser from Wing... (damn nice Options there to filter the "View"
-> example2:
something like "show me every functions of my Project".
to answer the following questions:
- "Hmmm one month ago I impleted a function called, well i think it is something with get_the_newxxxxx ????"
- Oh think it was in Modul xxx !!!
- or was it in Modul yyy ????
-> simply just to keep the Overview of "what" is "where".
my Intention as described above get`s clearer ??
thx
Hello Peter,
To jump to any function in your project by name, you can use the "Goto Symbol"
feature (Go to | Symbol...)
Also we plan to provide the possibility to show file structure inline in
the project view (to show class/function/attribute nodes under file nodes
in the Project view).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi Dmitry,
thanx for the outlook ... my questions are answered ....