Discussion:
Editing mulit-line strings in PHP code
salientdigital
2014-08-21 20:17:54 UTC
Permalink
PHP NetBeans 8

When pressing return, strings are split onto multiple lines with the concatenate delimiter:


Code:
$sql = " SELECT *"
. " FROM orders"
. " WHERE uid = $uid";



pressing command-return gives:


Code:
$sql = " SELECT *
FROM orders
WHERE uid = $uid";




Can I switch those keyboard commands so return gives the 2nd one and Cmd-Return gives the first one?
Loading...