def _run_parser_via_panel(self, command):
"""
Return `True` if the current parser needs to be run via a panel.
If needed, it runs the input-panel-based parser.
"""
if command.input_parser.type == input_types.VIA_PANEL:
if self.non_interactive:
return False
sublime.active_window().run_command(command.input_parser.command)
return True
return False
评论列表
文章目录