Format Code - JavaScript - Continuation Indentation?

Why does this not happen in JavaScript? Works great in PHP.

This is how I want it to look:

AjaxUpdater(
     'ajaxObject=Apps_Reporting' +
          '&ajaxMethod=PrepareAndFire' +
          '&cboReport=' + $F('cboReport') +
     $sVars,
     'LoadReportHere');

Instead, it looks like this:

AjaxUpdater(
     'ajaxObject=Apps_Reporting' +
     '&ajaxMethod=PrepareAndFire' +
     '&cboReport=' + $F('cboReport') +
     $sVars,
     'LoadReportHere');

0
3 comments

Ugh, that's a real problem. We finally jumped on board with Format Code today, despite some things not our liking. In PHP, it's working well enough to continue, but in JS, this is a big issue trying to spot argument problems.

0
Avatar
Permanently deleted user

Keith,

Thanks!

0

Please sign in to leave a comment.