My Eclipse has commands to "Correct Indentation" when Editing Java Source and "Indent Line" when Editing JavaScript Source. The key binding is command-I by default and I also bind to the Tab key. In either case the result is to fix the indentation of the current line.
I would like a similar command for Editing TypeScript Source. "Format" doesn't quite work because in the absence of a selection it formats from the cursor position to the end of the document. Something that works like format but on the current line would be fine.
My Eclipse has commands to "Correct Indentation" when Editing Java Source and "Indent Line" when Editing JavaScript Source. The key binding is command-I by default and I also bind to the Tab key. In either case the result is to fix the indentation of the current line.
I would like a similar command for Editing TypeScript Source. "Format" doesn't quite work because in the absence of a selection it formats from the cursor position to the end of the document. Something that works like format but on the current line would be fine.