

def send_add_content(self, view):
    if self.should_ignore_file(view.file_name()):
        return
    content = view.substr(sublime.Region(0, view.size()))
    req = AnalysisUpdateContentParams({
        view.file_name(): AddContentOverlay(content),
    })
    _logger.info('sending update content request - add')
    self.requests.put(req.to_request(self.get_request_id(view, AnalysisUpdateContentResult)), view=view, priority=TaskPriority.HIGH, block=False)

dataset/ETHPy150Open guillermooo/dart-sublime-bundle/lib/analyzer/analyzer.py AnalysisServer.send_add_content/original