2

On Visual Studio code IDE I had the following issues:

  • The TypeScript version at the bottom right of the screen was not showing.
  • Linter not working for any of my projects.
  • "Typescript : Select Typescript Version" setting was missing from the command palette

This is after trying the suggestions from other stackoverflow articles:

And lastly attempting to follow along with VSCodes documentation in order to attempt to fix the problem.

Installing typescript globally did not rectify this issue either.

2 Answers2

2

I found myself in a similar situation, except other projects worked. The solution in my case was to search for the @builtin typescript extension and choose "Enable (Workspace)" from the contextual menu ("Enable" is grayed out). Still not sure why it was disabled for this project.

szx
  • 243
  • 2
  • 10
1

So I managed to solve my issue by completely uninstalling VS Code, getting the latest version and installing it. steps:

Windows:

  1. Control panel > Uninstall a program > VSCode
  2. Delete directory C:\Users{user}\AppData\Roaming\Code
  3. Delete directory C:\Users{user}.vscode
  4. Download and install latest from: https://code.visualstudio.com/

Success!

halfer
  • 19,824
  • 17
  • 99
  • 186