SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Roy Ganor | Zend Technologies
Zend Studio Tips and Tricks
http://joind.in/2266
• Mastering your IDE is as
important as mastering
your source code
• IDEs should be aware of
your development
workflows
Release Engineering Tools Short Keys
Project ManagementSource Editing
Short cuts are here!
ctrl == 
 == shift
Short Cuts
+ + = Available short cutsctrl
 L
+ = Maximize editor/viewctrl M
+ = Quick access to workbenchctrl 3
+ = Switch between editorsctrl F6
+ + = Block selectionalt
 A
+ = Quick searchctrl K
+ = Delete current linectrl D
+ / = Previous/Next editoralt  
+ / = Move line/salt  
+ + = Comment Generatorctrl
 J
+ = Quick outlinectrl O
+ + = Open class / interfacectrl
 T
+ + = Toggle a breakpointctrl
 B
+ = Quick type hierarchyctrl T
+ + = Open function / methodctrl
 M
Source Editing
• 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
• 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
• 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
• 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
Refactoring – Extract variable/method
1. Select a valid expression
2. + + = Extract VariableAlt  L

Code Navigation
Select a valid class / interface, method / function
+ + = Show referencesctrl  G
+ + = Call hierarchyctrl alt H
Project Management
Project Management Tips
1. Separate back-end, front-end and tests
projects
2. Exclude irrelevant resources from “build”
folders
3. Use working Sets
Use you own Formatter
Task Repository Connectors
1. Bugzilla
2. Mantis
3. Trac
4. Attlasian
5. Tasktop
Remote Server Support
Build Tools (RelEng)
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>
Zend Studio Builders
Automate code generation, templates and other stuff!
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
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/

Weitere ähnliche Inhalte

Ähnlich wie Zend Studio Tips and Tricks #zendcon 10

Zend Studio Tips and Tricks
Zend Studio Tips and TricksZend Studio Tips and Tricks
Zend Studio Tips and Tricks
Roy Ganor
 
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
Noopur Gupta
 
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
Noopur Gupta
 
object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptx
urvashipundir04
 
DMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4ReportingDMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4Reporting
David Mann
 

Ähnlich wie Zend Studio Tips and Tricks #zendcon 10 (20)

Zend Studio Tips and Tricks
Zend Studio Tips and TricksZend Studio Tips and Tricks
Zend Studio Tips and Tricks
 
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
 
Unleashing the Java Tooling in Eclipse IDE - Tips & Tricks!
Unleashing the Java Tooling in Eclipse IDE - Tips & Tricks!Unleashing the Java Tooling in Eclipse IDE - Tips & Tricks!
Unleashing the Java Tooling in Eclipse IDE - Tips & Tricks!
 
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
Mastering your Eclipse IDE - Java tooling, Tips & Tricks!
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
Mastering your Eclipse IDE - Java tooling, Tips & Tricks - EclipseCon Europe ...
 
Getting Started with C++
Getting Started with C++Getting Started with C++
Getting Started with C++
 
Reproducible research concepts and tools
Reproducible research concepts and toolsReproducible research concepts and tools
Reproducible research concepts and tools
 
object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptx
 
Getting started with C++
Getting started with C++Getting started with C++
Getting started with C++
 
DMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4ReportingDMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4Reporting
 
Reproducible research
Reproducible researchReproducible research
Reproducible research
 
presentation
presentationpresentation
presentation
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
Being Smart about C/C++ Development on AIX and Linux
Being Smart about C/C++ Development on AIX and Linux Being Smart about C/C++ Development on AIX and Linux
Being Smart about C/C++ Development on AIX and Linux
 
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open ToolkitDITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
 
Dev days Visual Studio 2012 Enhancements
Dev days Visual Studio 2012 EnhancementsDev days Visual Studio 2012 Enhancements
Dev days Visual Studio 2012 Enhancements
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Improving The Quality of Existing Software
Improving The Quality of Existing SoftwareImproving The Quality of Existing Software
Improving The Quality of Existing Software
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Zend Studio Tips and Tricks #zendcon 10

  • 1. Roy Ganor | Zend Technologies Zend Studio Tips and Tricks http://joind.in/2266
  • 2.
  • 3. • Mastering your IDE is as important as mastering your source code • IDEs should be aware of your development workflows
  • 4. Release Engineering Tools Short Keys Project ManagementSource Editing
  • 5. Short cuts are here! ctrl ==   == shift
  • 7. + + = Available short cutsctrl  L + = Maximize editor/viewctrl M + = Quick access to workbenchctrl 3 + = Switch between editorsctrl F6
  • 8. + + = Block selectionalt  A + = Quick searchctrl K + = Delete current linectrl D + / = Previous/Next editoralt   + / = Move line/salt  
  • 9. + + = Comment Generatorctrl  J + = Quick outlinectrl O + + = Open class / interfacectrl  T + + = Toggle a breakpointctrl  B + = Quick type hierarchyctrl T + + = Open function / methodctrl  M
  • 11. • 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
  • 12. • 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
  • 13. • 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
  • 14. • 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
  • 15. Refactoring – Extract variable/method 1. Select a valid expression 2. + + = Extract VariableAlt  L 
  • 16. Code Navigation Select a valid class / interface, method / function + + = Show referencesctrl  G + + = Call hierarchyctrl alt H
  • 18. Project Management Tips 1. Separate back-end, front-end and tests projects 2. Exclude irrelevant resources from “build” folders 3. Use working Sets
  • 19. Use you own Formatter
  • 20. Task Repository Connectors 1. Bugzilla 2. Mantis 3. Trac 4. Attlasian 5. Tasktop
  • 23. 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>
  • 24. Zend Studio Builders Automate code generation, templates and other stuff!
  • 25. 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
  • 26. 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/