At 14:35 +1000 on 06/14/2012, Alex Satrapa wrote about Re: Does BBE
support Syntax and Formatting for PHP code:
While BBEdit doesn't have any tidying/syntax checking for PHP (or
Perl, or Python or Š) there is a phptidy script on the intertubes,
and there is discussion of how to use it with TextWrangler (and I
assume, by extension, with BBEdit) here:
http://magp.ie/2011/01/10/tidy-and-format-your-php-and-meet-wordpress-standards-on-coda-and-textwrangler/
Thanks. I installed it and it seems to meet my formatting needs. I
assume that it handles the syntax checking at the same time although
I would rather go with a syntax checker as opposed to a formatter
which fixes what it thinks you are trying to do as opposed to just
flagging errors for inspection and correction. I have been burned by
using a tidy type fixer which made the wrong correction from what I
wanted (ie: A syntax check spotted an error in nesting that needed to
be hand corrected).
HTH
HAND
On 14/06/2012, at 13:23 , Robert A. Rosenberg wrote:
The subject says it all. Is there support for being able to format
PHP code (either Pure PHP or intermixed with HTML) as I can do for
HTML via the Format Options of Markup->Utilities. The same question
for doing a Syntax Check of the PHP code.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>