在我的JavaScript(.js)文件中,我使用一个Visual Studio 2012插件,用于区域(here),如下所示:
//#region "My Region"
//Code here
//#endregion "My Region"
我也希望在TypeScript(.ts)文件中有区域.现在有这种可能性吗?
在我的JavaScript(.js)文件中,我使用一个Visual Studio 2012插件,用于区域(here),如下所示:
//#region "My Region"
//Code here
//#endregion "My Region"
我也希望在TypeScript(.ts)文件中有区域.现在有这种可能性吗?
你可以下载Web Essentials 2012个,它允许你在TypeScript中使用区域.
如果你使用Visual Studio 2015,这里是最 fresh 的链接.