I have read this post about auto formatting code, and it worked when formatting some JSON. It seems to format the entire file at once. This could be somewhat drastic, e.g., if the indent rules used by VS Code conflicts with a project, this would lead to a major version control diff when used on a large file. How could I auto-indent my current line?
In Emacs, the cursor can be anywhere on the line and pressing Ctrl+i will auto-indent the current line. I searched through the possible Keyboard Shortcuts and did not find one that would do this. I am looking something like "Indent Line" but to auto-indent.