-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
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
BUG: syntax coloring for new block syntax, not working with Allman formatting #53483
BUG: syntax coloring for new block syntax, not working with Allman formatting #53483
Comments
Unfortunately this is a trade off we had to make. See the context here: angular/vscode-ng-language-service@075047a Closing as working as expected. |
Actually I’m going to reopen until we’re sure this is the trade off we want. Another option here would be to make the syntax highlighting work on the specific block names we support today. This would mean a small bit of extra maintenance burden with needing to keep the syntax highlighting up to date with the block names but it’s quite trivial. It could be a better option, at least for the moment while there’s a limited set of block types with no new ones on the roadmap. |
This updates the syntaxes to only match known block names instead of requiring a `{` at the end of the line when the block syntax is used. fixes angular/angular#53483
This updates the syntaxes to only match known block names instead of requiring a `{` at the end of the line when the block syntax is used. fixes angular/angular#53483
This updates the syntaxes to only match known block names instead of requiring a `{` at the end of the line when the block syntax is used. fixes angular/angular#53483
This updates the syntaxes to only match known block names instead of requiring a `{` at the end of the line when the block syntax is used. fixes angular/angular#53483
This updates the syntaxes to only match known block names instead of requiring a `{` at the end of the line when the block syntax is used. fixes angular/angular#53483
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Which @angular/* package(s) are the source of the bug?
language-service
Is this a regression?
Yes
Description
Following syntax is not colored correctly
also for
First block is colored that is ok, but second block is always as plain white text.
This is regression, because first version of new block syntax coloring (last beta or first rc, dont remember exactly) was working correctly. This is valid syntax that works, just is not colored correctly.
Since it was working i dont think that there is any reason why it should not work anymore.
Thank you.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: