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 != '']))
def run(self): self.window.show_input_panel('Find in Gems', current_word(), self.on_done, None, None)
def run(self): self.window.show_input_panel('Index Search:', current_word(), self.on_done, None, None)
def run(self): self.window.show_input_panel('Mdfind:', current_word(), self.on_done, None, None)
def run(self): self.items = self._items(current_word()) sublime.active_window().show_quick_panel(self.items, self.panel_done, sublime.MONOSPACE_FONT)
def run(self): self.window.show_input_panel('Git Grep Search:', current_word(), self.on_done, None, None)
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 != '']))