Visual Studio 2015 RTM-更新TypeScript工具后失去对JavaScript的支持 [英] Visual Studio 2015 RTM - Lost JavaScript support after update TypeScript Tools

查看:144
本文介绍了Visual Studio 2015 RTM-更新TypeScript工具后失去对JavaScript的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将TypeScript工具从1.5.3版本更新到1.5.4之后,我失去了对Visual Studio 2015中JavaScript文件的支持.

I have lost the support for JavaScript files inside Visual Studio 2015 after updating the TypeScript tools from version 1.5.3 to 1.5.4.

通过支持JavaScript,我的意思是智能感知,语法着色和选项"菜单->文本编辑器"中的JavaScript选项.

By support for JavaScript I mean intellisense, syntax coloring and the JavaScript options inside Options menu -> Text Editor.

我的js文件现在看起来像txt文件.

My js files look like txt files now.

我已经尝试了很多事情:

I have already tried many things:

  1. 此答案中的步骤: Visual Studio 2015 CTP-Javascript支持缺失
  2. 修复TypeScript工具
  3. 修复Microsoft Asp.Net和Web工具2015
  4. 修复整个Visual Studio 2015
  1. The steps in this answer: Visual Studio 2015 CTP - Javascript support missing
  2. Repair TypeScript Tools
  3. Repair Microsoft Asp.Net and Web Tools 2015
  4. Repair entire Visual Studio 2015

什么都没做.

有人知道这个问题的解决方案吗?

Does anyone knows a solution for this problem?

推荐答案

这是我们在VS 2015中修复的已知错误,但是,如果您在特定时间段内安装了通用Windows应用程序开发工具",则可能会受到影响.一段的时间.我们将很快发布具有以下解决方法的知识库:

This is a known bug that we have fixed in VS 2015, however you could have been affected if you installed the "Universal Windows App Development Tools" during a specific period of time. We will soon be publishing a KB with the following workaround:

如果仍然安装了通用Windows应用程序开发工具":

If the "Universal Windows App Development Tools" are still installed:

  1. 转到程序和功能",选择"Visual Studio 2105",然后单击更改".
  2. 在Visual Studio安装程序中,单击修改".
  3. 取消选择通用Windows应用开发工具"功能
  4. 再次选择通用Windows App开发工具",然后单击更新".

如果您已经卸载了通用Windows应用程序开发工具":

If you have already uninstalled the "Universal Windows App Development Tools":

  • 重新安装通用Windows App开发工具"
  • 或者,按照以下步骤重新安装JavaScript项目系统和语言服务:
  • Reinstall "Universal Windows App Development Tools"
  • Or, take the following steps to reinstall the JavaScript project system and language service:
  1. 下载适用于您的Visual Studio版本的安装程序,例如vs_community.exe.
  2. 打开CMD窗口,然后运行以下命令:vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive
  1. Download the installer for your edition of Visual Studio, e.g. vs_community.exe.
  2. Open a CMD window, and run the following command: vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

很抱歉造成麻烦.希望有帮助.

Sorry for the trouble. Hope that helps.

这篇关于Visual Studio 2015 RTM-更新TypeScript工具后失去对JavaScript的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆