public static void addCompleteToIncludePathFromDoc(final FileObject doc){
  FileObject ciRoot=getCiRoot(doc);
  if (ciRoot == null) {
    return;
  }
  Project project=FileOwnerQuery.getOwner(ciRoot);
  if (project == null) {
    return;
  }
  addCompleteToIncludePath(ciRoot,project);
}

public static void addCompleteToIncludePathFromDoc ( final FileObject doc ) { FileObject ciRoot = getCiRoot ( doc ) ; if ( ciRoot == null ) { return ; } Project project = FileOwnerQuery . getOwner ( ciRoot ) ; if ( project == null ) { return ; } addCompleteToIncludePath ( ciRoot , project ) ; }
use the current php document as a pointer to add auto completion file into the project path
