Codesense
Started by Gazley, Aug 07 2012 02:16 PM
8 replies to this topic
#2
Posted 07 August 2012 - 02:24 PM
That's not currently possible, but there is a topic all about it here: http://processwire.c...processwire-30/
PHP Storm and other IDEs are mentioned.
In the meantime, your handiest reference is here: http://processwire.com/api/cheatsheet/
PHP Storm and other IDEs are mentioned.
In the meantime, your handiest reference is here: http://processwire.com/api/cheatsheet/
#4
Posted 07 August 2012 - 03:51 PM
It's the easiest function reference, but not the easiest way to get started - I would try the following:
Once I got going and the Cheatsheet was created by Soma it has proven invaluable ever since.
- Small Project Walkthrough is a good starter
- The rest of the documentation, specifically selectors because you'll work with them most
- Scouring the rest of the tutorials forum
Once I got going and the Cheatsheet was created by Soma it has proven invaluable ever since.
#5
Posted 07 August 2012 - 03:52 PM
Actually this topic might be better: http://processwire.c...-in-pw-classes/
@somartist | modules created | support me, flattr my work flattr.com
#6
Posted 07 August 2012 - 03:56 PM
Ah yes - forgot about that one. Once those changes are in it will be in the default download 
You can download interrobang's version from the link he posts to see if that helps in PHP Storm, but I'd still suggest reading up on the other things above too.
You can download interrobang's version from the link he posts to see if that helps in PHP Storm, but I'd still suggest reading up on the other things above too.
#8
Posted 08 August 2012 - 08:09 AM
In order to get use phpstorms codesense you must tell phpstorm what variables are there. Just add a PHPDoc comment like this to your php template files and it should work. Even without using my fork you get some codesense support, but a lot of properties are missing.
/** * @var Pages $pages * @var Page $page * @var Templates $templates * @var Fields $fields * @var Users $users * @var User $user * @var Roles $roles * @var Permissions $permissions * @var WireInput $input * @var Sanitizer $sanitizer * @var Session $session * @var Config $config */
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













