I'm new to python coding.
My spec's are:
MacBook Pro macOs 10.14.6 (Mojave).
Python 3.9.0 loaded october 5, 2020.
Visual Studio Code 1.49.3
I would like in a given file.py, to automatically : Save the modified script and Erase the previous output in the output window, before running the new modified code.
In VSC, I have tried without success:
"save" "autosave", then in "settings.json" to add: "code-runner.saveAllFilesBeforeRun" : true.
According to a contributor's suggestion (Molly Wang) , I have added in settings.json :
"files.autoSave": "afterDelay", "code-runner.clearPreviousOutput": true,
But in VSC output window, neither the autosave nor the automatic erase works, and I don't understand why.enter image description here