Currently, there is no way to collapse a large page of Python imports because VSCode's default folding is indentation-based.
However, there should be a way to create a custom folding rule so that Python imports at the top of the page can be collapsed.
Ideally, there would also be a setting to automatically collapse imports whenever a python file is opened.
Thanks!
Currently, there is no way to collapse a large page of Python imports because VSCode's default folding is indentation-based.
However, there should be a way to create a custom folding rule so that Python imports at the top of the page can be collapsed.
Ideally, there would also be a setting to automatically collapse imports whenever a python file is opened.
Thanks!