Skip to content

Instantly share code, notes, and snippets.

@behrangsa
Created February 8, 2014 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save behrangsa/8879543 to your computer and use it in GitHub Desktop.
Save behrangsa/8879543 to your computer and use it in GitHub Desktop.
How to configure IDEA to format chained method calls better?
// IDEA formats like this:
Foo.bar(params).then(function () {
}).catch(function () {
});
// I want it to be like this:
Foo.bar(params).then(function () {
}).catch(function () {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment