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
Consider a user trying to write:
function render() { return html` <div> <span> Hello world </span> </div> `; }
user gets to here (where | represents their insertion cursor) and presses enter:
function render() { return html`| }
function render() { return html` | }
Good so far. That's pretty reasonable. But by the third line an issue becomes clear:
function render() { return html` <div> <span>| }
function render() { return html` <div> <span> | }
The best outcome would be to use the inline language's indentation information, so that the outcome was
A simpler and almost-as-good option would be to just copy the indentation of the previous line of the template literal:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider a user trying to write:
user gets to here (where | represents their insertion cursor) and presses enter:
Good so far. That's pretty reasonable. But by the third line an issue becomes clear:
The best outcome would be to use the inline language's indentation information, so that the outcome was
A simpler and almost-as-good option would be to just copy the indentation of the previous line of the template literal:
The text was updated successfully, but these errors were encountered: