I used to be able to collapse (fold) python dictionaries just fine in my VS Code. Randomly I am not able to do that anymore. I can still fold classes and functions just fine, but dictionaries cannot fold, the arrow on the left hand side just isn't there. I've checked my settings but I can't figure out what would've changed. I'm not sure the best forum to go to for help, so I'm hoping this is ok. Any ideas?
For me, it wasn't a problem with Pylance but rather with Jupyter[*] extensions.
I disabled all my extensions and enabled them one by one. See that enabling the Python extension will not just enable Python extension. I disabled Jupyter related extensions and Pylance wasn't the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With