Visual Studio 2015 RTM - 更新TypeSript工具后失去JavaScript支持 [英] Visual Studio 2015 RTM - Lost JavaScript support after update TypeSript Tools
问题描述
在将TypeScript工具从1.5.3升级到1.5.4后,我在Visual Studio 2015中失去了对JavaScript文件的支持。
支持JavaScript I意味着intellisense,语法着色和选项菜单 - >文本编辑器中的JavaScript选项。
我的js文件现在看起来像txt文件。
我已经尝试了很多东西:
- 这个答案中的步骤: Visual Studio 2015 CTP - 缺少Javascript支持
- 修复TypeScript工具
- 修复Microsoft Asp.Net和Web Tools 2015
- 修复整个Visual Studio 2015
没有任何效果。
有谁知道这个问题的解决方案?
这是我们在VS 2015中修复过的已知错误,但是如果您安装了通用Windows应用程序开发,则可能会受到影响pment工具在特定的时间段内。我们很快将发布一个KB,其解决方法如下:
如果仍然安装了通用Windows应用开发工具:
- 转到程序和功能,选择Visual Studio 2105,单击更改。
- 在Visual Studio安装程序中,单击修改。
- 取消选择通用Windows应用开发工具功能
- 再次选择通用Windows应用开发工具,然后单击更新。
如果您已经卸载了通用Windows应用开发工具:
- 重新安装通用Windows应用程序开发工具
- 或者,按照以下步骤重新安装JavaScript项目系统和语言服务:
- 下载适用于您的Visual Studio版本的安装程序,例如
vs_community.exe
。 - 打开CMD窗口,然后运行以下命令:
vs_community.exe / modify / installselectableitems JavaScript_Hidden /被动
- 下载适用于您的Visual Studio版本的安装程序,例如
很抱歉的麻烦。希望有所帮助。
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.
By support for JavaScript I mean intellisense, syntax coloring and the JavaScript options inside Options menu -> Text Editor.
My js files look like txt files now.
I have already tried many things:
- The steps in this answer: Visual Studio 2015 CTP - Javascript support missing
- Repair TypeScript Tools
- Repair Microsoft Asp.Net and Web Tools 2015
- Repair entire Visual Studio 2015
Nothing worked.
Does anyone knows a solution for this problem?
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:
If the "Universal Windows App Development Tools" are still installed:
- Go to Programs and Features, select Visual Studio 2105, click Change.
- In Visual Studio setup, click Modify.
- Deselect the feature "Universal Windows App Development Tools"
- Select "Universal Windows App Development Tools" again, and click Update.
If you have already uninstalled the "Universal Windows App Development Tools":
- Reinstall "Universal Windows App Development Tools"
- Or, take the following steps to reinstall the JavaScript project system and language service:
- Download the installer for your edition of Visual Studio, e.g.
vs_community.exe
. - Open a CMD window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive
- Download the installer for your edition of Visual Studio, e.g.
Sorry for the trouble. Hope that helps.
这篇关于Visual Studio 2015 RTM - 更新TypeSript工具后失去JavaScript支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!