+ All Categories
Home > Technology > YAPC::NA 2007 - Epic Perl Coding

YAPC::NA 2007 - Epic Perl Coding

Date post: 16-May-2015
Category:
Upload: joshuamcadams
View: 5,724 times
Download: 2 times
Share this document with a friend
Description:
A quick tour of the EPIC programming plugin within Eclipse.

If you can't read please download the document

Transcript
  • 1. EPIC Perl Coding YAPC::NA 2007 Houston, TX Josh McAdams

2. Quick Audience Poll How do you edit your Perl code? 3. Sweeping Generalizations Ask just about any Perl programmer what he or she uses to edit Perl and you'll get any one of a hand-full of typical answers: - vi (the editor of the beast vi vi vi) - emacs (rms didn't get rms for no reason) - BBEdit - some random windows text editor - Notepad - UltraEdit basically, it all boils down to... 4. [ This Slide Intentionally Left Blank] 5. Text Editors Most of these environments are extremely powerful and can get the job done, but they have a problem... ... they can be intimidating 6. 7. IDEs Yes, most Perl programmers imagine the worst, but a decent IDE really isn't bad to have in your toolkit.There are a few IDEs out there: - The Open Perl IDE - Komodo - Enginsit's Perl Editor - Affrus - Eclipse 8. Eclipse Eclipse isn't just a Java IDE, it's actually a pluggable application framework... And one of those plugins happens to be EPIC, an Eclipse plugin for Perl integration. 9. EPIC What is EPIC? - an Eclipse plugin that customizes the IDE for Perldevelopment What does it do for me? - syntax highlighting - edit-time syntax checking - code assistants - quick references to perldoc - outline of used modules and subroutines - in-editor source formatting (perltidy) - HTML export - code templates - RegExp plugin - Perl debugger integration (even for web development) 10. EPIC The IDE 11. EPIC Syntax Highlighting 12. EPIC Syntax Checking 13. EPIC Code Assistant 14. EPIC - Perldoc 15. EPIC Perldoc Search 16. EPIC - Outlines 17. EPIC Perl Tidy 18. EPIC HTML Export 19. EPIC HTML Export 20. EPIC Code Templates 21. EPIC - RegExp 22. EPIC - RegExp 23. EPIC - Debugging 24. EPIC Code Folding 25. EPIC Toggle Comments 26. EPIC Toggle Comments 27. EPIC Refactor 28. EPIC Refactor 29. EPIC Refactor 30. EPIC Refactor 31. EPIC Refactor 32. EPIC Refactor 33. Understanding Eclipse - Eclipse thinks in workspaces, projects, views, andperspectives - Aworkspaceis just a location of your code on thedisk - Aprojectis a group of files that logically fit together,sort of like a Perl distribution - Aviewis just a window in the interface that providessome sort of functionality... an editor, and outline,etc. - Aperspectiveis a grouping of views that help youeffectively do the task at hand... debugging, codeediting, etc. 34. When To Use Epic - Epic thinks in projects, it is part of a Java IDE, it canbe slow to load and a little overkill for smallerprojects. - Epic/Eclipse is really good at helping you managelarge projects with multiple files and other resources. - Eclipse can be integrated with SVN, databasebrowsers, and many other tools that can consolidateall of your project tools into one interface. 35. Resources Eclipse http://www.eclipse.org/ EPIC http://e-p-i-c.sourceforge.net/ Build Perl applications with Eclipse http://www.ibm.com/developerworks/edu/os-dw-os-perlecl-i.html How to debug Perl apps with Eclipse http://www.ibm.com/developerworks/edu/os-dw-os-perlecl-i.html


Recommended