def rescanFile(self, prefs, view, src_file):
        scan_dirs = prefs.getProjectScanDirs(view)
        db_file = prefs.getDBFilePath(view)

        # scan as async command - we don't care about the results
        sublime.status_message("PHPCI: scan file")
        phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'scanFile', [src_file, scan_dirs, prefs.exclude_patterns, db_file])
Exemple #2
0
 def run(self, edit):
     prefs = preferences.load(self.view)
     scan_dirs = prefs.getProjectScanDirs(self.view)
     db_file = prefs.getDBFilePath(self.view)
     sublime.status_message("PHPCI: scanning project")
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(
         prefs, 'scanProject', [scan_dirs, prefs.exclude_patterns, db_file])
Exemple #3
0
    def rescanFile(self, prefs, view, src_file):
        scan_dirs = prefs.getProjectScanDirs(view)
        db_file = prefs.getDBFilePath(view)

        # scan as async command - we don't care about the results
        sublime.status_message("PHPCI: scan file")
        phpdaemon.runAsyncRemoteCommandInPHPDaemon(
            prefs, 'scanFile',
            [src_file, scan_dirs, prefs.exclude_patterns, db_file])
 def run(self, edit):
     prefs = preferences.load(self.view)
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'debugSleep', [3])
 def run(self, edit):
     prefs = preferences.load(self.view)
     scan_dirs = prefs.getProjectScanDirs(self.view)
     db_file = prefs.getDBFilePath(self.view)
     sublime.status_message("PHPCI: scanning project")
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'scanProject', [scan_dirs, prefs.exclude_patterns, db_file])
Exemple #6
0
 def run(self, edit):
     prefs = preferences.load(self.view)
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'debugSleep', [3])