Autosave and user config


#1

It seems that variable “@autosave” from user config does not correlate to the autosave switch state in the preferences. For example, when I switch autosave to on (via preferences), @autosave is still “false”.


#2

autosave was moved to experimental settings, see Autosave not working


#3

I understand that. However, my question is about user config specifically and the link you posted doesn’t mention anything regarding that.

Does it mean that the only way to enable / disable autosave is via menu?


#4

Looks like now it is saved in state settings instead of user settings, https://github.com/c9/c9.ide.save/blob/master/autosave.js#L30 https://github.com/c9/core/blob/master/plugins/c9.ide.preferences/experimental.js#L68, so the only way s to use the menu.

though not sure if moving it to state settings was intentional or a bug, since now one needs to enable that for each workspace separately.


#5

Thank you very much for confirming this behaviour for me.