WebMatrix Extension: http://extensions.webmatrix.com/packages/TypeScript4WebMatrix
DocumentUp version of the documentation: http://macawnl.github.com/TypeScript4WebMatrix
TypeScript Tools for WebMatrix
Although there is great support for TypeScript in Visual Studio through an installable MSI, we also need support for TypeScript in 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:
- Compile all TypeScript files in the project
- Compile all TypeScript files in a folder
- Compile a TypeScript file
- Update the TypeScript software
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:
Sublime Text 2 - only syntax highlighting (see the blogpost http://blogs.msdn.com/b/interoperability/archive/2012/10/01/sublime-text-vi-emacs-typescript-enabled.aspx) ==> also support for Emacs and Vim