Hello,
Thanks for your reply about issue #5821,
With some sed (cf. below)
sed -i 's/^if ./#%% &\n&/' test.py
sed -i 's/^ if ./#%%% &\n&/' test.py
sed -i 's/^ if .*/#%%%% &\n&/' test.py
the code now has a nice foldable outline. (using the "group code cells" option)
I had a question though :
in the older version of spyder,
the outline was updated only when saving the file,
with the new version of spyder,
the outline is refreshed at each keyboard typing inside the Editor,
and it takes a lot of CPU (the computer has to start its fan).
Is there a way to revert back to the "only refresh outline on save" version ?
Please let me know.
Thanks.
Best regards.
.
Issue Report Checklist
Problem Description
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
Versions
- Spyder version:
- Python version:
- Qt version:
- PyQt version:
- Operating System name/version:
Dependencies
Hello,
Thanks for your reply about issue #5821,
With some sed (cf. below)
sed -i 's/^if ./#%% &\n&/' test.py
sed -i 's/^ if ./#%%% &\n&/' test.py
sed -i 's/^ if .*/#%%%% &\n&/' test.py
the code now has a nice foldable outline. (using the "group code cells" option)
I had a question though :
in the older version of spyder,
the outline was updated only when saving the file,
with the new version of spyder,
the outline is refreshed at each keyboard typing inside the Editor,
and it takes a lot of CPU (the computer has to start its fan).
Is there a way to revert back to the "only refresh outline on save" version ?
Please let me know.
Thanks.
Best regards.
.
Issue Report Checklist
conda update spyder(orpip, if not using Anaconda)jupyter qtconsole(if console-related)spyder --resetProblem Description
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
Versions
Dependencies