Fork me on GitHub

WebMatrix Extension:

DocumentUp version of the documentation:

TypeScript Tools for WebMatrix


TypeScript is a new language for application-scale Javascript development. TypeScript is designed by Anders Hejlsberg, inventor of C#.

Although there is great support for TypeScript in Visual Studio through an installable MSI, we also need support for TypeScript in WebMatrix.

Why WebMatrix

TypeScript support in WebMatrix is important because WebMatrix can be used really well to write Node.js apps, something that is not supported in Visual Studio 2012.


The TypeScript WebMatrix extension provides compilation support for TypeScript within WebMatrix. This package provides the following functionality:

By default TypeScript files are not opened in WebMatrix itself. If you right-click on a TypeScript file you will see the action to Open with Webmatrix. From that point on TypeScript files will be opened with WebMatrix until you restart WebMatrix.

You can also configure WebMatrix as the default application for opening .ts files. Do this by right-click on a TypeScript file in the File Explorer and configure WebMatrix as the default application to open .ts files with.


WebMatrix does not support syntax highlighting and intellisense on TypeScript files. It is possible to use another editor to edit your TypeScript file that provides this functionality: