Thursday, 15 April 2010

mysql - Writing PHP with SQL queries in Emacs -



mysql - Writing PHP with SQL queries in Emacs -

what should utilize in emacs developing php files sql queries?

when indenting buffer code should this:

<?php $query = " select id, name products id > 12" ?>

in web-mode , php-mode looks this:

<?php $query = " select id, name products id > 12" ?>

if isn't possible, 1 alternative have enable manual indentation (using tab , shifttab, in sublime , other editors) when @ multi-line strings in php code. how that?

the lastly version (9.0.84) of web-mode (available on github) provides native sql indentation in block strings.

php mysql emacs

No comments:

Post a Comment