I recently upgraded TypeScript to v1.4 (I'm using VS2013) and the code indentation formatting seems to have been changed with the update.
The way my code looked before was like this:
return this.doSomethingThatReturnsAPromise()
.then(()=>{
// more code
})
.then(()=>{
// even more code
});
But since installing v1.4 the code now formats like this:
return this.doSomethingThatReturnsAPromise()
.then(()=>{
// more code
})
.then(()=>{
// even more code
});
Whenever I change it back to the way I used to have it and type something that formats the code it puts it back to the new way (which I really don't like). Any ideas what I can check or change to make it go back to the way it was before please?
Seems like a new bug so I raised it on Github : https://github.com/Microsoft/TypeScript/issues/1917
Observed it in https://atom.io/packages/atom-typescript as well which simply calls the language service.