def run(self, *args, **kwargs):
     view = self.window.active_view()
     if not is_robot_format(view):
         return
     CachedData().init()
     view.run_command('robot_framework_scan_test_case_files',
                      {'file_to_read': view.file_name()})
 def on_post_save(self, view):
     if not is_robot_format(view):
         return
         # if not self.autocomplete_dynamic_owner.has_autocomplete():
     #     self.collect_dynamic_data(view.file_name())
     self.collect_dynamic_data(view.file_name())
     if not self.autocomplete_owner.has_data():
         self.autocomplete_owner.clear_data()
         self.collect_data()
 def on_post_save(self, view):
     if not is_robot_format(view):
         return
         # if not self.autocomplete_dynamic_owner.has_autocomplete():
     #     self.collect_dynamic_data(view.file_name())
     self.collect_dynamic_data(view.file_name())
     if not self.autocomplete_owner.has_data():
         self.autocomplete_owner.clear_data()
         self.collect_data()
 def run(self, edit):
     if not is_robot_format(self.view):
         return
     name_of_source = None
     text_under_cursor = get_text_under_cursor(self.view)
     result = re.split('\.', text_under_cursor, maxsplit=1)
     if len(result) == 2:
         name_of_source = result[0]
         text_under_cursor = result[1]
     if not text_under_cursor:
         return
     self.go_to_item_thread(text_under_cursor, name_of_source=name_of_source)
 def run(self, edit):
     if not is_robot_format(self.view):
         return
     name_of_source = None
     text_under_cursor = get_text_under_cursor(self.view)
     result = re.split('\.', text_under_cursor, maxsplit=1)
     if len(result) == 2:
         name_of_source = result[0]
         text_under_cursor = result[1]
     if not text_under_cursor:
         return
     self.go_to_item_thread(text_under_cursor,
                            name_of_source=name_of_source)
 def run(self, *args, **kwargs):
     if not is_robot_format(self.window.active_view()):
         return
     RFDataCollector().collect_data()
 def _on_activated(self, view):
     if not is_robot_format(view):
         return
     if self.autocomplete_owner.has_data():
         return
     self.collect_data()
 def run(self, *args, **kwargs):
     view = self.window.active_view()
     if not is_robot_format(view):
         return
     CachedData().init()
     view.run_command('robot_framework_scan_test_case_files', {'file_to_read': view.file_name()})
 def run(self, *args, **kwargs):
     if not is_robot_format(self.window.active_view()):
         return
     RFDataCollector().collect_data()
 def _on_activated(self, view):
     if not is_robot_format(view):
         return
     if self.autocomplete_owner.has_data():
         return
     self.collect_data()