atom.io Laravel autoprediction woes
I'm trying to get PHP to autocomplete for my Laravel project - I've been trying lots of different packages, but none seem to work...
Here's a screenshot from a PHP class:
I need $table->
to autocomplete and suggest all the functions available to it! (functions such as ->string(...)
, ->text(...)
, ->timestamps()
, etc.)
Can anyone suggest anything?
I have the following php-related packages installed:
But I need something more. I need to be able to identify all the classes in my Laravel project and auto-suggest their functions!
You can use CTags to index the definitions. Have a look at this Atom package:
Atom Ctags
Don't worry that the animated demo there is presented for C, it should work with PHP just as well.
链接地址: http://www.djcxy.com/p/26702.html