ROFLwTIME ROFLwTIME -4 years ago 682
TypeScript Question

Regions in TypeScript

In my javascript (.js) files, I use a Visual Studio 2012 plugin for regions (here) like this:

//#region "My Region"

//Code here

//#endregion "My Region"


I would also like to have regions in TypeScript (.ts) files as well. Is this a possibility right now?

Answer Source

You can download Web Essentials 2012, it lets you use regions in TypeScript.

If you use, Visual Studio 2015, here is the freshest link. Web Essentials 2015.3

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download