Open KyleSmith0905 opened 6 months ago
This might already be fixed by https://github.com/angular/angular/pull/55003/files#diff-c78608405ed7a0f5cdd6df74cfe33f6670f8a5823333f56b6013178e05bf0efa and would be included in the next release. There could be other places that need to be fixed as well.
π bug report
Is this a regression?
Not sure
Description
I often use JSX (Preact) alongside my templating framework. Doing this allowed me to develop components/builders that have great DX. I also use it for many other things, such as customizing markers on Google Maps (since it's 3 lines of code and not attached to my angular project).
So I'm using files with a
.tsx
extension often. However, this breaks Angular Language Service. I'm not sure if there is a way to add file extensions.Here is a minimal reproduction: https://stackblitz.com/edit/stackblitz-starters-duifxz?file=src%2Fmain.tsx (I also experience this in the desktop VSCode app).
Bug Type
What does this bug affect
^ What?
Reproduction
Steps to reproduce the behavior:
.tsx
'Expected behavior
My React and my Angular code should be highlighted.
Logs
Set Angular Log level to verbose.
Screenshots
π Your Environment
Angular Version:
Extension Version:
VSCode Version:
Operating System:
Extension options:
Anything else relevant?