Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

WordPress Support? #342

Closed vinkla closed 6 years ago

vinkla commented 7 years ago

Is there a way to autoload the WordPress classes and functions? Also, it would be nice if one could autoload the themes and plugins as well. Maybe this is already possible?

Peekmo commented 7 years ago

Hello,

Never worked with wordpress, don't really know how it is working to load files. For Drupal 6/7 I added those lines : https://github.com/Peekmo/atom-autocomplete-php/blob/master/php/providers/ClassMapRefresh.php#L103 to bootstrap drupal and get the functions. Perhaps there's something similar to do for wordpress ?

vinkla commented 7 years ago

Not sure to be honest. Maybe we can leave this open if someone else does?

vinkla commented 6 years ago

Closing due to inactivity.