Hi,
I was developing my plugin MSBuildSelector in a single file till it cames big enough to annoy me.
But now that I am splitting it with one file per class, I does not work any more.
Basically I have one MsbuildSeletor
class inheriting TextCommand
and providing the common tools. This class is inherited by MsbuildSelectorFileCommand
and MsbuildSelectorProjectCommand
. When I try to invoke the build command, I got:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 553, in run_
return self.run()
File "C:\Users\xxx\AppData\Roaming\Sublime Text 3\Packages\MSBuildSelector\MSBuildSelectorFileCommand.py", line 82, in run
params)
TypeError: 'module' object is not callable
I tried renaming the files, wrongly assuming there was a conflict between file names and class names, but it did not changed anything.
The code is pushed to this branch.
Thanks for your attention.