Discuss Scratch

god286
Scratcher
1000+ posts

Autosave or Manual Save while using an IDE?

NFlex23 wrote:

Oh, maybe it doesn't reload the page if there are no visible changes. I didn't actually test it.
It doesn't reload the page if after normalisation there is the same result (for example, adding a comment) but if you made no change at all it doesn't reload.
SuperMarioHome
Scratcher
100+ posts

Autosave or Manual Save while using an IDE?

I have autosave in VSCode set to 60,000ms (1m).
ToastersUnited
Scratcher
1000+ posts

Autosave or Manual Save while using an IDE?

I always manually save because:
A: good habit
B: reasonNumberTwo()
Chiroyce
Scratcher
1000+ posts

Autosave or Manual Save while using an IDE?

I use this now


So when the editor is out of focus it saves, it works really well and here's why. When I run the program, it focuses on the terminal for a split second before running, which gives the IDE enough time to save the file, and right after that the program is run. So only when needed it is saved - and I can press CMD + S to manually save in case I want to. And if i'm doing HTML/CSS/JS using Live Server, I'll alt+tab to switch to the browser, which will count as an unfocus, and it'll save, and right after that live server will reload. this is probably better than manual save and auto save.

Last edited by Chiroyce (Feb. 13, 2022 08:45:51)

mbrick2
Scratcher
1000+ posts

Autosave or Manual Save while using an IDE?

AUTOSAVE
imfh
Scratcher
1000+ posts

Autosave or Manual Save while using an IDE?

One thing I like about autosave is that linters usually run each time the file is saved. If it autosaves whenever I make a change, the linting will automatically update too.

Powered by DjangoBB