From @battmanz on January 24, 2017 19:14
In TypeScript (maybe other languages too), callback functions don't have the expected indentation when placed on a new line. Such is the case when using the subscribe method on an Observable in rxjs.
- VSCode Version: 1.8.1
- OS Version: macOS Sierra
Steps to Reproduce:
-
The following file was formatted using the keyboard shortcut. Notice how the onNext and onError callbacks line up with the subscribe method.

-
I would rather see those two callbacks indented one more level like so:

Copied from original issue: microsoft/vscode#19260
From @battmanz on January 24, 2017 19:14
In TypeScript (maybe other languages too), callback functions don't have the expected indentation when placed on a new line. Such is the case when using the
subscribemethod on anObservablein rxjs.Steps to Reproduce:
The following file was formatted using the keyboard shortcut. Notice how the

onNextandonErrorcallbacks line up with thesubscribemethod.I would rather see those two callbacks indented one more level like so:

Copied from original issue: microsoft/vscode#19260