We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS Version: macOS Sierra 10.12.2
VScode (which uses js-beautify as the underlying formatter) Version:
The shortcut shift+alt+f is used to format the whole document (without having to select anything), and cmd+k cmd+f is used to format the selection.
shift+alt+f
cmd+k cmd+f
{ "key": "shift+alt+f", "command": "editor.action.formatDocument", "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly" }, { "key": "cmd+k cmd+f", "command": "editor.action.formatSelection", "when": "editorHasDocumentFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly" },
My experiments show that formatting html does not work well for the following case:
<span> <span>try</span> <div>posted by</div> </span>
will be formatted to
Does anyone know what's happening?
Cheers
The text was updated successfully, but these errors were encountered:
Fixed in 1.8.0-rc6
Sorry, something went wrong.
No branches or pull requests
OS Version: macOS Sierra 10.12.2
VScode (which uses js-beautify as the underlying formatter) Version:
The shortcut
shift+alt+f
is used to format the whole document (without having to select anything), andcmd+k cmd+f
is used to format the selection.My experiments show that formatting html does not work well for the following case:
will be formatted to
Does anyone know what's happening?
Cheers
The text was updated successfully, but these errors were encountered: