-
Notifications
You must be signed in to change notification settings - Fork 672
Developer Guide: Setting Up Eclipse PDT
ginatrapani edited this page Sep 13, 2010
·
20 revisions
Eclipse PDT is a full-featured IDE that offers class browsing, code formatting, and method completion.
Here are some tips for setting up Eclipse PDT to work with ThinkTank:
- Set indentation to spaces: In your project’s preferences panel, under PHP>Code Style>Formatter, set the “Tab Style” to spaces, and indentation size to 4.
- Add word wrap: Insane but true: Eclipse does not support word wrap natively. Use this experimental add-on to enable it. (via “Stack Overflow”http://stackoverflow.com/questions/97663/how-can-i-get-word-wrap-to-work-in-eclipse-pdt-for-php-files)
Tips and Tricks and Shortcuts
- Ctrl+Shift+F to format your code
- Ctrl+/ to comment a block of code
- More Eclipse keyboard shortcuts