Para editar un comando: Window → Preferences → General → Keys
| Ctrl+D | elimina la línea actual (en la que se encuentra el cursor) |
| Ctrl+Shift+F | formatear código (tabulaciones, saltos de línea,…) |
| <?php | |
| /** | |
| * simple method to encrypt or decrypt a plain text string | |
| * initialization vector(IV) has to be the same when encrypting and decrypting | |
| * | |
| * @param string $action: can be 'encrypt' or 'decrypt' | |
| * @param string $string: string to encrypt or decrypt | |
| * | |
| * @return string | |
| */ |