If I already have this written
$company_id = isset($_POST['cid']) ? $_POST['cid'] : null;
And I want to wrap a function call around $_POST['cid']
, is there a way to put that inside the autocompleted function's parentheses?
Instead of me typing this:
$company_id = isset($_POST['cid']) ? Validate::isId()$_POST['cid'] : null;
and then having to erase the right parenthesis, is there a shortcut to wrap the param when sublime autocompletes the function for me?
$company_id = isset($_POST['cid']) ? Validate::isId($_POST['cid']) : null;
Using Mac Yosemite and SublimeText 3.