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 != '']))
Example #2
0
 def run(self):
     self.window.show_input_panel('Find in Gems', current_word(),
                                  self.on_done, None, None)
Example #3
0
 def run(self):
     self.window.show_input_panel('Find in Gems', current_word(), self.on_done, None, None)
Example #4
0
 def run(self):
     self.window.show_input_panel('Index Search:', current_word(),
                                  self.on_done, None, None)
Example #5
0
 def run(self):
     self.window.show_input_panel('Mdfind:', current_word(), self.on_done, None, None)
Example #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)
Example #7
0
 def run(self):
     self.window.show_input_panel('Mdfind:', current_word(), self.on_done,
                                  None, None)
 def run(self):
     self.window.show_input_panel('Git Grep Search:', current_word(), self.on_done, None, None)
Example #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)
 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 != '']))