| 238 | | * Vim: [http://drupal.org/node/29325] |
| 239 | | * Please add the coding standard plugin for eclipse here. |
| 240 | | |
| 241 | | This documentation is based on [http://trac.symfony-project.org/wiki/HowToContributeToSymfony#CodingStandards Symfony Coding Standard] and [http://drupal.org/coding-standards#indenting Drupal Coding Standard]. |
| | 238 | * Vim: [http://drupal.org/node/29325] |
| | 239 | * spf13-vim distribution: https://github.com/spf13/spf13-vim |
| | 240 | spf13-vim provides a sets of plugins and a vimrc . It is a good starting point for anyone intending to use VIM for development. Installation steps is on github. |
| | 241 | |
| | 242 | * Eclipse: Please add the coding standard plugin for eclipse here. |
| | 243 | |
| | 244 | * Install Coding Standard |
| | 245 | * https://github.com/ubc/CTLT-PHP-coding-standard/tree/cakephp-project |
| | 246 | * Don't forget to set default coding standard: |
| | 247 | {{{ |
| | 248 | #!sh |
| | 249 | sudo phpcs --config-set default_standard CTLT |
| | 250 | }}} |
| | 251 | * Switch to CakePHP coding standard branch |
| | 252 | {{{ |
| | 253 | #!sh |
| | 254 | cd /path/to/your/coding/standard |
| | 255 | git checkout cakephp |
| | 256 | }}} |