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/382d0f4c-526b-4125-bf2e-1d3703b0ca0dn%40googlegroups.com.
