php:eclipsepdt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| php:eclipsepdt [2014/06/05 04:33] – admin | php:eclipsepdt [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Eclipse PDT(PHP Development Tool) ====== | ||
| + | ===== Install with Eclipse Available ===== | ||
| + | - Step1: Download and Install **Eclipse EE** from https:// | ||
| + | - Step2: In Eclipse, click **Help -> Install New Software** and work with: http:// | ||
| + | ===== Basic Config ===== | ||
| + | ==== Show some basic windows in Eclipse PDT ==== | ||
| + | * Window-> | ||
| + | * Window-> | ||
| + | * Window-> | ||
| + | ==== change between PHP screen and Debug Screen ==== | ||
| + | If you want change to mode PHP for coding or mode Debug for debug, Click button PHP or Debug at top right corner | ||
| + | {{: | ||
| + | ===== PHP Editor Config ===== | ||
| + | ==== common config for PHP ==== | ||
| + | Under **Window -> Preferences**: | ||
| + | * set Encoding UTF-8: Expand left menu to **General -> Workspace**: | ||
| + | * Check **//Text file encoding// | ||
| + | Other: | ||
| + | UTF-8 | ||
| + | </ | ||
| + | * Check **//New text file line delimiter// | ||
| + | Other: | ||
| + | Unix | ||
| + | </ | ||
| + | * Ensure that spaces are used instead of tabs: Expand left menu to **General -> Editors -> Text Editors** | ||
| + | * Check **//Insert spaces for tabs//** | ||
| + | * Change **// | ||
| + | * Removing trailing whitespaces: | ||
| + | ==== Config to editor Drupal ==== | ||
| + | === Config to recognize drupal files === | ||
| + | * Step1: config [[# | ||
| + | * Step2: config Drupal file types are recognized as PHP files: | ||
| + | * Under **Window -> Preferences**, | ||
| + | === Import drupal project === | ||
| + | Under menu **File-> | ||
| + | ==== Config Editor for zend framework ==== | ||
| + | === Config to recognize zend framework files === | ||
| + | * Step1: config [[# | ||
| + | * Step2: config zend framework file types are recognized as PHP files: | ||
| + | * Under **Window -> Preferences**, | ||
| + | === Import zend framework project === | ||
| + | Under menu **File-> | ||
| + | ===== Config debug PHP ===== | ||
| + | * Config xdebug in PHP follow link: | ||
| + | * change default debug mode to xdebug | ||
| + | {{: | ||
| + | * change debug mode in "Run Configuration" | ||
