如何在 Visual Studio 2015 中启用 TypeScript 文件的预览面板?

How do I enable the preview panel for TypeScript files in Visual Studio 2015?

我想念在单独的面板中向您显示 TypeScript 编译结果的功能。我还没有找到在 Visual Studio 2015 年使用 TypeScript 1.5 beta 重新打开它的方法。

我安装了 2015 版 WebEssentials 以及 ReSharper 9.1。

有人对此有好运吗?

这已从 VS 2015RC 中的 Web Essentials 2015 中删除。

参见:https://github.com/madskristensen/WebEssentials2015/issues/53

madskristensen commented on Jun 8

The TS preview pane has been removed from Web Essentials 2015 due to continuously running into conflicts with the TS compiler when new versions come out. The TS team are aware of it and I hope they will add the feature into the TS tooling in the future. It is possible that this feature will be included in the brand new Web Compiler extensions (https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c) when preview panes have been implemented.

截至 2015 年 7 月 30 日,使用 Visual Studio 2015 企业版加 Web Essentials 2015 版本 0.5.1 的正式发布版本仍然存在此问题。

None 之前的建议有效。

Mads 需要修复此问题并发布新版本。

P.S。 VS 2013 Update 4 和最新的 Web Essentials 2013 不会出现此问题。

或者,您可以点击解决方案资源管理器中的 "Show All Files" 按钮找到您的 .js 文件,然后点击 Alt+ WV 以获得垂直拆分 window 并打开 .ts 文件旁边的 .js 文件。