Typescript syntax highlighting in Visual Studio 2022

Markos Skouloudis 5 Reputation points
2023-04-06T16:43:26.8233333+00:00

Since updating Visual Studio 2022 (CE) to version 17.5.3, syntax highlighting for typescript files has stopped working.

Developer technologies Visual Studio Other
{count} vote

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-04-07T03:20:15.53+00:00

    Hi @Markos Skouloudis

    Welcome to Microsoft Q&A! 

    Does it occur in all projects or specific project? Are you using ReSharper

    Please try the following workarounds:

    1. Disable all installed extensions under Extensions > Manage Extensions > Installed.
    2. Go to Visual Studio Installer > Modify > add “Node.js development” workload.
    3. Try to use ReSharper extension

    Sincerely, Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.