What I am trying to achieve is when user click on sidebar -> my command, I can get the files info. I didn’t see anything about this in the API doc. I read some others’ code which looks like this:
class SyncMultipleFileCommand(sublime_plugin.WindowCommand):
def run(self, files):
However, it doesn’t work for me. It complains: run() missing 1 required positional argument: ‘files’, when I try to run it via side bar clicking. Am I missing something from the setup phase?