Zend Studio Tips and Tricks

11,013 views
10,638 views

Published on

Published in: Technology, Business
0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
11,013
On SlideShare
0
From Embeds
0
Number of Embeds
114
Actions
Shares
0
Downloads
173
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide

Zend Studio Tips and Tricks

  1. 1. Prerequisites (Hidden)<br />Install Zend Studio + Server<br />Run Keyboard Jedi<br />Connect to a ZF account as tasks repository<br />Load the Zend Framework project into the workspace<br />1024*768<br />
  2. 2. Zend Studio Tips and Tricks<br />By Roy Ganor<br />Eclipse PDT (PHP) & ATF (Ajax) Project Lead<br />Zend Studio Project Lead<br />
  3. 3. Mastering your tools is as important as mastering your code<br />
  4. 4. Project Management<br />Source Editing<br />Release Engineering Tools<br />Short Keys<br />
  5. 5. Short cuts are here! <br /><br />==<br />ctrl<br />shift<br />==<br /><br />
  6. 6. Short Cuts<br />
  7. 7. +<br />=<br />+<br />=<br />+<br />=<br />Maximize editor/view<br />Quick access to workbench<br />Switch between editors<br />ctrl<br />ctrl<br />ctrl<br />M<br />3<br />F6<br />+<br />+<br />=<br />Available short cuts<br /><br />ctrl<br />L<br />
  8. 8. +<br />=<br />+<br />=<br />Quick search<br />Delete current line<br />D<br />ctrl<br />ctrl<br />K<br />+<br />+<br />=<br />+<br />/<br />=<br />+<br />/<br />=<br />Block selection<br />Previous/Next editor<br />Move line/s<br /><br /><br /><br />alt<br />alt<br />alt<br />A<br /><br /><br />
  9. 9. +<br />=<br />+<br />=<br />Quick outline<br />Quick type hierarchy<br />O<br />T<br />ctrl<br />ctrl<br />+<br />+<br />=<br />+<br />+<br />=<br />+<br />+<br />=<br />+<br />+<br />=<br />Comment Generator<br />Open class / interface<br />Toggle a breakpoint<br />Open function / method<br /><br /><br /><br /><br />ctrl<br />ctrl<br />ctrl<br />ctrl<br />J<br />T<br />B<br />M<br />
  10. 10. Source Editing<br />
  11. 11. Code assist hints<br />
  12. 12. Code assist CamelCase<br />
  13. 13. Code assist – Magic functions<br />
  14. 14. Refactoring – Extract variable/method<br />+<br />+<br />=<br />Select a valid expression<br />Extract Variable<br /><br />Alt<br />L<br /><br />
  15. 15. Code Navigation<br />+<br />+<br />=<br />+<br />+<br />=<br />Select a valid class / interface, method / function<br />Show references<br />Call hierarchy<br /><br />ctrl<br />ctrl<br />G<br />H<br />alt<br />
  16. 16. Use mark occurrences<br /> Variables, methods and classes<br /> Inherited elements<br /> Exit paths<br /> Include statements<br />Write vs. Read<br />
  17. 17. CVS/SVN – Show annotation (blame mode)<br />Right click on the left-side annotation bar and select “Show Annotations”<br />
  18. 18. Project Management <br />
  19. 19. Project Management Tips<br />Separate back-end, front-end and tests projects <br />Exclude irrelevant resources from “build” folders<br />Use working Sets<br />
  20. 20. Use you own Formatter<br />
  21. 21. Task Repository Connectors<br />Bugzilla<br />Mantis<br />Trac<br />Attlasian<br />Tasktop<br />
  22. 22. Build Tools (RelEng)<br />
  23. 23. Team Project Set<br />File | Import | Team | Team Project Set <br />Import shared team resources and repositories<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;psfversion=&quot;2.0&quot;&gt;<br />&lt;provider id=&quot;org.eclipse.team.cvs.core.cvsnature&quot;&gt;<br />&lt;project reference=&quot;1.0,:pserver:my.company.repo:/repos,module/project1&quot;/&gt;<br />&lt;project reference=&quot;1.0,:pserver:my.company.repo:/repos,module/project1&quot;/&gt;<br /> ...<br />&lt;project reference=&quot;1.0,:ext:oss.org:/cvsroot/ns,module/project,v200909160005&quot;/&gt;<br />&lt;project reference=&quot;1.0,:ext:oss.org:/cvsroot/ns,module/project,v200904131653&quot;/&gt;<br /> ...<br />&lt;/provider&gt;<br />&lt;workingSets...&gt;&lt;/workingSets&gt;<br />&lt;psf&gt;<br />
  24. 24. Zend Studio Builders<br />Automate code generation, templates and other stuff!<br />
  25. 25. Recap<br /> It’s more than just “tips and tricks”…<br /> Experienced teams improve their development processes <br /> by adding custom behavior to their tools<br />More than 30 useful tips<br />Short Cuts<br />Project Management tips<br />Source Editing tips<br />Release Engineering (Build Tools) tips<br />
  26. 26. Q&A<br />Roy Ganor – roy@zend.com, @royganor, http://ganoro.blogspot.com/<br />Eclipse PDT forums - http://www.eclipse.org/forums/<br />Zend Studio forum - http://forums.zend.com/ <br />

×