I found the show_input_panel method, but am having trouble using it.
If I use code as
self.view.window().show_input_panel("User","Hi",RemoteCommand.getUsername,None,None)
nothing shows up. But if I use code as
view.window().show_input_panel("User","Hi",RemoteCommand.getUsername,None,None)
I get the following error:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 249, in run_
File ".\remote.py", line 44, in run
view.window().show_input_panel("User","Hi",MyCommand.CallbackFunction,None,None)
AttributeError: 'Edit' object has no attribute 'window'
My function signature looks like
def run(self, view, mode):
Any ideas on how to make the input panel show up?