TypeScript Missing Visual Studio

TypeScript syntax highlighting was broken in Visual Studio. When I tried to check my settings in Tools> Options> Text Editor, there is no option for TypeScript. How can I add this to fix TypeScript?

+3


source to share


3 answers


You can download the latest version (1.5 beta) :

Visual Studio is updated less frequently than TypeScript, so while there are many built-in TypeScript features, you also need an extension.



The extension contains the Visual Studio "TypeScript experience" as well as a compiler.

+1


source


I stumbled upon the same issue in Visual Studio 2017 and it seems that TypeScript options have been merged with JavaScript in this version of Visual Studio.

These options can be found under Tools -> Options -> Text Editor -> JavaScript / TypeScript.



Note. Visual Studio 2015 had a separate item for TypeScript.

0


source


I had an issue where the whole menu option was missing (under "HTML (web forms)" instead of "Javascript / TypeScript" there was "JSON" in between:

enter image description here

To fix this problem, I launched the Visual Studio installer and selected "Repair"

0


source







All Articles