*edit:
This frustrates me so much on jsfiddle and I'm guessing it's a default browser formatting thing but why don't you guys make the curly braces NOT leap forward from where my cursor is?
Example : http://i.imgur.com/mZXTO.png
*edit:
This frustrates me so much on jsfiddle and I'm guessing it's a default browser formatting thing but why don't you guys make the curly braces NOT leap forward from where my cursor is?
Example : http://i.imgur.com/mZXTO.png
But I'd understand if that's not an acceptable answer for you.
That's to e.g. return an object though.
On the other hand, allman with anonymous functions? That's completely bonkers-looking.
However, if you open the devtools console in your browser, and run: `jsbin.settings.editor.smartIndent = false` it'll disable the indenting. The setting is sticky, so you it should remain whilst the data is stored against the browser.
There's a couple of others, and docs will be coming soon. In addition, there's an exposed API that allows you to point JS Bin to a JSON file and it'll load in and save those settings - which is useful for starting a class for teaching where you want the editor in the same mode across all the students.