Zend Studio Tips and Tricks #zendcon 10

2,680 views

Published on

In this presentation Roy Ganor, the Zend Studio Project Lead discloses some of Zend Studio's deepest secrets and reveal some of those extremely useful but 'hidden' features of Zend Studio.

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

No Downloads
Views
Total views
2,680
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
31
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Zend Studio Tips and Tricks #zendcon 10

  1. 1. Roy Ganor | Zend Technologies Zend Studio Tips and Tricks http://joind.in/2266
  2. 2. • Mastering your IDE is as important as mastering your source code • IDEs should be aware of your development workflows
  3. 3. Release Engineering Tools Short Keys Project ManagementSource Editing
  4. 4. Short cuts are here! ctrl ==   == shift
  5. 5. Short Cuts
  6. 6. + + = Available short cutsctrl  L + = Maximize editor/viewctrl M + = Quick access to workbenchctrl 3 + = Switch between editorsctrl F6
  7. 7. + + = Block selectionalt  A + = Quick searchctrl K + = Delete current linectrl D + / = Previous/Next editoralt   + / = Move line/salt  
  8. 8. + + = Comment Generatorctrl  J + = Quick outlinectrl O + + = Open class / interfacectrl  T + + = Toggle a breakpointctrl  B + = Quick type hierarchyctrl T + + = Open function / methodctrl  M
  9. 9. Source Editing
  10. 10. • When a content assist proposal is selected, an automatic parameters completion is provided. • Use Tab to skip between parameters Content Assist Template Proposal Altering parameters
  11. 11. • The default color scheme is changed to provide a cleaner more standard editor colors. • More rules are now available • Internal functions • Deprecated elements • Static variables • And many more… • Windows > Preferences > PHP > Editor > Syntax Coloring
  12. 12. • When the quick outline is displayed, click on ctrl+o once again to list all inherited members of the class. • Short-cut: ctrl+o (twice) Show Inherited Members
  13. 13. • When a breakpoint is hit, the Debug view opens. Step through the code, inspect and display variables and expressions • Short-cut: ctrl+shift+i New “Inspect” Action
  14. 14. Refactoring – Extract variable/method 1. Select a valid expression 2. + + = Extract VariableAlt  L 
  15. 15. Code Navigation Select a valid class / interface, method / function + + = Show referencesctrl  G + + = Call hierarchyctrl alt H
  16. 16. Project Management
  17. 17. Project Management Tips 1. Separate back-end, front-end and tests projects 2. Exclude irrelevant resources from “build” folders 3. Use working Sets
  18. 18. Use you own Formatter
  19. 19. Task Repository Connectors 1. Bugzilla 2. Mantis 3. Trac 4. Attlasian 5. Tasktop
  20. 20. Remote Server Support
  21. 21. Build Tools (RelEng)
  22. 22. Team Project Set 1. File | Import | Team | Team Project Set 2. Import shared team resources and repositories <?xml version="1.0" encoding="UTF-8"?> <psf version="2.0"> <provider id="org.eclipse.team.cvs.core.cvsnature"> <project reference="1.0,:pserver:my.company.repo:/repos,module/project1"/> <project reference="1.0,:pserver:my.company.repo:/repos,module/project1"/> ... <project reference="1.0,:ext:oss.org:/cvsroot/ns,module/project,v200909160005"/> <project reference="1.0,:ext:oss.org:/cvsroot/ns,module/project,v200904131653"/> ... </provider> <workingSets ...> </workingSets> <psf>
  23. 23. Zend Studio Builders Automate code generation, templates and other stuff!
  24. 24. Recap • It’s more than just “tips and tricks”… • Experienced teams improve their development processes • by adding custom behavior to their tools • More than 30 useful tips • Short Cuts • Project Management tips • Source Editing tips • Release Engineering (Build Tools) tips
  25. 25. Q&A Roy Ganor – roy@zend.com, @royganor, http://ganoro.blogspot.com/ Eclipse PDT forums - http://www.eclipse.org/forums/ Zend Studio forum - http://forums.zend.com/

×