Shortcuts: - Ctrl + K, Ctrl + D to format the entire document. - Ctrl + K, Ctrl + F to only format the selected code. If no code is selected, format the current line or enclosing node, whichever is larger.