Hi, Jon. I wanted to know if there was a way yet to use the sublime.Options class to set a plugin-specific option?
I'm trying to improve my auto-backup plugin so that the user can add the backup dir as a preference. I'd like the user to modify easily-accessible preferences -- say Application.sublime-options -- and add
Then, my code can read;
[code]backupDir = view.options().getString("plugin.AutoBackupPlugin.autoBackupDir")[/code]
and let the user specify the option without hacking the python file. Is there any way to do this, or anything like it? I can get file-type-specific options (eg, I can set autoBackupDir in Python.sublime-options and read that, but there seems to be no inheritance from the application options.)
ALSO -- can I suggest a Advanced Customisation forum, for python API, macros, theme development, etc?