>
> I did not show the main editing window with the actual code. But yes, it's 
> a normal Python file (in this case containing Django models - classes - for 
> an app). I use the # --- notation a lot to help ID sections of code but 
> that does not appear for any Python files I work on.
>
 
Do you have the `Show special comments` checkbox ticked?
[image: Popup-In-Outline.png]

 

> I looked at issue 14871 but that seems very specific to __init__.py files 
> whereas I experience this for every file.
>
 
I actually had the problem in some other files too but initially it only 
occured in some `__init__.py` files. If you think you have a different 
issue it would be great if you filed a new issue at spyder repository on 
github <https://github.com/spyder-ide/spyder/issues>.
 
Kind regards
yfprojects


On Thu, 13 May 2021 at 19:51, yfprojects <[email protected]> wrote:
>
>> Hello Derek,
>>
>> the `Expand all` button does only expand if there are sub items of an 
>> tree item. That isn't the case in your screenshot.
>> If the file does contain any *classes*, *functions*, *code cells* or *code 
>> blocks*, this is a bug. It could relate to this Issue on github 
>> <https://github.com/spyder-ide/spyder/issues/14871>.
>> I would be interested in whether code cells *(created by `#%%`)* or code 
>> blocks *(created by `# -----`) *are shown in the outline in case you add 
>> them.
>>
>> Kind regards
>> yfprojects
>>
>> [email protected] schrieb am Mittwoch, 12. Mai 2021 um 06:51:45 UTC:
>>
>>> I recently upgraded to Syder 5 and am now unable to see / access the 
>>> expandable code "tree" (outline) that was working in the previous version.
>>>
>>> This is all I can see (image below, showing what I see for a typical 
>>> Django models file) - what is needed to create/activate the code tree?
>>>
>>> [image: spy.png]
>>>
>>> Thanks
>>> Derek
>>>
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "spyder" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/spyderlib/5cfc378e-1fba-4c60-8488-232051edb1ebn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/spyderlib/5cfc378e-1fba-4c60-8488-232051edb1ebn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/f48badb2-75a2-42cf-b301-1234a2bcfd84n%40googlegroups.com.

Reply via email to