I think SideBarEnhancements recent attitude towards and implementation of data collection is appalling. It exemplifies how dangerous plugins can be when a very popular plugin can suddenly start snooping on users or worse without so much as a howdy-do.
And let’s be clear, SideBarEnhancements is not like say Package Control. PC by design hits the network and passes along some small bits of usage of PC itself. You can also disable it via a “submit_usage” setting.
SideBarEnhancements data collecting is very different. It doesn’t hit the network by design. It collects far more data than PC ever does. And it collects it HOURLY. Nice. Gotta get that data.
data = {
"protocolVersion": 1,
"addresses": address,
"os": platform.system(),
"osVersion": platform.release(),
"editor": "sublime",
"editorVersion": sublime.version(),
"editorUUID": address[0] if len(address) > 0 else None,
"activeNonBundledPackageNames": sorted(sublime.load_settings('Package Control.sublime-settings').get('installed_packages'), key=lambda s: s.lower()),
"name": "SideBarEnhancements",
"activeEditorFileExtension": active_editor_file_ext,
"numMinutes": self.num_mins,
"numMinutesCoding": self.num_activity_mins,
"numMinutesCodingPython": self.num_py_activity_mins
}
Plugins could easily use a global setting e.g. “submit_usage” and only collect data if enabled. But just like how they don’t want to implement a opt-in (nobody would), they won’t want to use a global setting because that’s too easy.