예제 #1
0
 def _items(self):
     # NOTE: お試し版。しばらく触ってみて後で修正するかも
     lines = self.run_cmd(
         ['ag', '--nocolor', 'def\s' + current_word(),
          '.easyopen_index'])['out'].split("\n")
     return list(
         set([line.split("def ")[1] for line in lines if line != '']))
예제 #2
0
 def run(self):
     self.window.show_input_panel('Find in Gems', current_word(),
                                  self.on_done, None, None)
예제 #3
0
 def run(self):
     self.window.show_input_panel('Find in Gems', current_word(), self.on_done, None, None)
예제 #4
0
 def run(self):
     self.window.show_input_panel('Index Search:', current_word(),
                                  self.on_done, None, None)
예제 #5
0
 def run(self):
     self.window.show_input_panel('Mdfind:', current_word(), self.on_done, None, None)
예제 #6
0
 def run(self):
     self.items = self._items(current_word())
     sublime.active_window().show_quick_panel(self.items, self.panel_done,
                                              sublime.MONOSPACE_FONT)
예제 #7
0
 def run(self):
     self.window.show_input_panel('Mdfind:', current_word(), self.on_done,
                                  None, None)
예제 #8
0
 def run(self):
     self.window.show_input_panel('Git Grep Search:', current_word(), self.on_done, None, None)
예제 #9
0
 def run(self):
     self.items = self._items(current_word())
     sublime.active_window().show_quick_panel(self.items, self.panel_done, sublime.MONOSPACE_FONT)
예제 #10
0
 def _items(self):
     # NOTE: お試し版。しばらく触ってみて後で修正するかも
     lines = self.run_cmd(['ag', '--nocolor', 'def\s' + current_word(), '.easyopen_index'])['out'].split("\n")
     return list(set([line.split("def ")[1] for line in lines if line != '']))