I’m working on code from someone else and I just spent way too long figuring out that the parse error I was getting from my server was caused by the fact that my PHP.ini files does not enable
<? instead of
Is there a way in Komodo IDE to flag those short tags as a syntax error or at least get them flagged in some way?
Of course it’s possible. The real question is; is it feasible. I don’t think this would be a sensible default because often environment settings can differ between development and production. Perhaps a more interesting approach would be to set certain project level preferences that govern the styling of code.
Syntax checking is definitely not the place for this as technically both “syntaxes” are correct. You’re running into a config issue which is a completely different level of validation.