Open kostajh opened 9 years ago
Oh, that's really cool! I was going to try to parse this data out of the gigantic HTML file.
So here's what I was thinking on this front:
data
cweagans\TheForce\Indexer
, add a new protected method called getBuiltInFiles()
and just have it return an array of absolute paths to any files that you've added in the data
directory.cweagans\TheForce\Indexer->rebuildFileList()
, just change the first $this->fileList
assignment to use the new getBuiltInFiles()
method.That should be all there is to it!
I started some work on this in the add-php-symbols
branch. Right now, it does most of the above things.
However, we're completely missing any classes that are built into PHP, as well as the child properties and methods. We're also missing any built-in PHP constants and arrays ($_SERVER
and the like).
Also, the docblocks in the generated files aren't that great (not full PHPdoc blocks).
Could we make use of http://doc.php.net/downloads/json/php_manual_en.json ?
If you can provide some direction of how to incorporate this, I could try to work on this.