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
I've got a formatting problem since today, without changing anything in my config. Prettier turned this:
<button *ngFor="let webPage of webPages" class="dropdown-item" (click)="navigateToPage(webPage)">{{webPage}}</button> <button class="btn btn-clean" (click)="createNewPage()"> <i class="icon icon-add icon-md mr-1"></i> <ng-container i18n="@@HeaderComponentButtonNewPage"> Create new Page </ng-container> </button>
into this:
<button *ngFor="let webPage of webPages" class="dropdown-item" (click)="navigateToPage(webPage)" > {{ webPage }} </button> <button class="btn btn-clean" (click)="createNewPage()"> <i class="icon icon-add icon-md mr-1"></i> <ng-container i18n="@@HeaderComponentButtonNewPage" >Create new Page</ng-container > </button>
I've disabled all other Extensions and stripped my VSCode settings to only this line, but still the same result:
{ "prettier.jsxBracketSameLine": true }
Apart from ignoring the VSCode Setting for prettier.jsxBracketSameLine I don't think that this is supposed to be:
</ng-container >
VSCode Version: 1.28.2 | Prettier Version: 1.7.1
Just for reference, I opened a Stackoverflow aswell.
The text was updated successfully, but these errors were encountered:
this is only valid for jsx
jsx
There is discussed in prettier: prettier/prettier#5377 There is nothing we can do in this extension about that.
Sorry, something went wrong.
Ok, thanks for the quick response. So the update to a higher prettier version actually introduced the change in functionality?
Prettier didn't format template before that version
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
I've got a formatting problem since today, without changing anything in my config. Prettier turned this:
into this:
I've disabled all other Extensions and stripped my VSCode settings to only this line, but still the same result:
Apart from ignoring the VSCode Setting for prettier.jsxBracketSameLine I don't think that this is supposed to be:
VSCode Version: 1.28.2 | Prettier Version: 1.7.1
Just for reference, I opened a Stackoverflow aswell.
The text was updated successfully, but these errors were encountered: