Auto-format JS Code ?

Julien Bayle's icon

Hi there,

is there a way to auto-indent/auto-format JS code in Max6 ?

I used to copy-paste in XCode or Coda2 to make that at some point of my coding session, but I'm sure I'm missing something here.

Thanks for your lights.

pdelges's icon

Why don't you simply use an external editor to code your JS? With @autowatch set to 1, it's quite transparent.

p

Julien Bayle's icon

this can be nice.
but it would be nice to have this in that small light and very useful native editor in max.

but you are totally right, of course!