Trying to start a gatsby+react+typescript project and VSCode will only apply syntax highlighting to the HTML in my .tsx files. The typescript code remains a single color. How do I fix this?
Note: I have no plugins installed at the moment and the highlighting works if the file type is set to .jsx
typescript
– Apocryphaltypescript react
? Have you configuredfiles.associations
so thattsx
files would be treated asxml
? – Apocryphal