Skip to content

Instantly share code, notes, and snippets.

@danivicario
Created October 15, 2013 16:25
Show Gist options
  • Save danivicario/6994347 to your computer and use it in GitHub Desktop.
Save danivicario/6994347 to your computer and use it in GitHub Desktop.
class ExampleCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.window().show_input_panel("Say something:", 'something', self.on_done, None, None)
def on_done(self, user_input):
sublime.status_message("User said: " + user_input)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment