Uninstalling Anaconda, deleting the .spyder-py3 folder (saving a backup), 
then reinstalling Anaconda, did not resolve the problem.  Still no code in 
the Outline Pane.

On Tuesday, May 25, 2021 at 10:58:54 AM UTC-7 Greg Bullock wrote:

> Activating a spyder project seems to make a little improvement, but only a 
> little.  
>
> I separately activated two different projects, and looked at 4 - 5 files 
> in each project.  For most of the files -- all but two -- the Outline Pane 
> continues to show just cell markers and code blocks, but no function 
> definitions, class definitions, or method definitions.  Of the files that I 
> checked, one file in each project each showed one function definition, but 
> still no class or method definitions.
>
> I'm most willing to look deeper into this, if you can suggest further 
> tests to perform.
>
> Regards.
> Greg
>
> On Tuesday, May 25, 2021 at 6:49:08 AM UTC-7 yfprojects wrote:
>
>> This might relate to this issue on github 
>> <https://github.com/spyder-ide/spyder/issues/14871> since it isn't 
>> actually bound to `__init__.py` files.
>> It would also be interesting whether your problem occurs with a spyder 
>> project activated.
>>
>> Kind regards
>> yfprojects
>>
>>
>> [email protected] schrieb am Freitag, 21. Mai 2021 um 22:29:39 UTC:
>>
>>> I just noticed that, while the issue occurs with all of *my* code files 
>>> that I've checked, it does not occur with all code files.  
>>>
>>> In particular, opening just now a .py file from matplotlib, I see that 
>>> the Outline Pane shows the class and function definition lines as hoped.
>>>
>>> So ... something to do with my own files, but I don't know what that 
>>> might be.  And as I observed, this worked as hoped even with my own files 
>>> up until a few weeks ago.
>>>
>>> -Greg
>>>
>>> On Friday, May 21, 2021 at 10:56:08 AM UTC-7 Greg Bullock wrote:
>>>
>>>> Yes, *code blocks* appear in the Outline.  The snapshot below shows 
>>>> the Outline Pane for a file that defines a few functions and multiple 
>>>> classes, each with multiple methods. A few weeks ago, the Outline Pane 
>>>> would show each of these (function, class, and method) definitions.
>>>> [image: scant outline pane.png]
>>>>
>>>> And this snapshot shows the same file with a few *code blocks* added 
>>>> for testing.
>>>> [image: scant outline pane with code blocks.png]
>>>>
>>>> Yes, the issue occurs with all of my code files.
>>>>
>>>> Warm regards.
>>>> Greg
>>>>
>>>>

-- 
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/3f4a20df-a103-45dd-8803-9ad2decd6468n%40googlegroups.com.

Reply via email to