Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

VS Code - Can't associate .ts file with TypeScript

$
0
0

When I create a .ts file in a project, VS Code interprets it as "plain text". When I try to "Configure File Association for .ts", there are a few dozen languages to choose from but TypeScript is not one of them. Adding the following in settings.json doesn't seem to do anything:

"files.associations": { ".ts": "typescript" }

I have disabled extensions and commented out everything else in settings.json. I must be missing something obvious.

Note: fixed the issue by completely uninstalling and reinstalling VS Code.


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>