Exemplo n.º 1
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])
Exemplo n.º 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])
Exemplo n.º 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])
Exemplo n.º 4
0
 def run(self, edit):
     prefs = preferences.load(self.view)
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'debugSleep', [3])
Exemplo n.º 5
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])
Exemplo n.º 6
0
 def run(self, edit):
     prefs = preferences.load(self.view)
     phpdaemon.runAsyncRemoteCommandInPHPDaemon(prefs, 'debugSleep', [3])