Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

VS Code showing React icon for .jsx file, but not for .tsx file

I’ve started to learn next.js 13 using VS code, I noticed that .jsx files are shown with React icon but .tsx files are not, how can I change that?

.jsx vs .tsx

Created project via npx create-next-app, installed Microsoft’s JavaScripr and TypeScript Nightly extension

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can change the vscode file icons with an icon theme.
I have prefer the Material Icon Theme.

It shows .jsx and .tsx like this:

enter image description here

You get a lot of other options when you search for tag:icon-theme in the marketplace.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading