dwkd/SublimeCFStatsAndStandards

Add new stats and standards

Opened this issue · 0 comments

dwkd commented

stats:
• in-page js & css - done
• inline css - calculate the extra source output in kb of all the inline css - done - (try to predict in loops and outputs)
• # of cfaborts -done

standards:
• in-page css declarations are bad - send to a .css file -done
• in-page js script blocks with function declarations are bad - send to .js file -done
• xhtml readiness for all tags including html (cftags: cfset, cfparam,cfomponent etc..., also html tags such as img, br, hr etc..)
• camelCasing of variables - need dictionary - this may be too slow and unnecessary
• file info at top
• cfcomponent, cfrpoperty, cffunction and cfargument should have displayName and hint attributes filled
• use of cfqueryparam - done
• sql indent (create global indent tool)
• look into blockFactor for queries?!!!?!? - may be a good performance improvement - low priority
• use cfif/else instead of iif because iif is significantly slower (according to Santa - need to confirm that)