Warrick FitzGerald
Warrick FitzGerald

Reputation: 2815

VS 2013 TypeScript Support not working

I was using VS 2012 with the Web Essentials plugin. This was working great and I love the preview window.

Just installed VS 2013 Ultimate and upgraded to the latest version where TypeScript. VS 2013 "apparently" has better support \ integration. Nothing seems to work?

Tools > Options > Text Editor > TypeScript .. doesn't seem to have any reference to compile on save or how to enable a preview window.

What am I missing here?

I find posts like this: http://typescript.codeplex.com/wikipage?title=Compile-on-Save ... but this would just blow my mind of I went from such a clean and easy solution in VS 2012 to something like this ... really hope I'm missing something here.

Upvotes: 3

Views: 4686

Answers (2)

user3667401
user3667401

Reputation: 9

we can do it by choosing CommonJS option under Module system in Project Properties. Hope it will help .

Upvotes: 0

Ryan Cavanaugh
Ryan Cavanaugh

Reputation: 220894

Web Essentials no longer includes TypeScript features. You need to install the TypeScript plugin to get TypeScript support in Visual Studio.

You should see the compile-on-save options under Tools -> Options -> Text Editor -> TypeScript -> Project.

The "preview window" functionality from WE isn't replicated with the TypeScript plugin, but is easily mimicked by having a separate editor window docked side-by-side.

Upvotes: 3

Related Questions