TypeScript installs incorrectly

落花浮王杯 提交于 2019-12-11 22:53:57

问题


I installed Visual Studio 2012 Express followed by the TypeScript plugin.

I launched VS and noticed that my .ts files are not getting any syntax highlighting.

I did not have any of the project templates relating to TypeScript, nor the Tools->Options->Text Editors->TypeScript settings.

I even tried to uninstall/re-install everything. Nothing worked.


回答1:


I was desperately looking for a solution and it seems like none exist, so I decided to post the solution that worked for me.

It could be a complete fluke, but I thought I'd share it anyway, in case it can help someone else.

I have Windows 8 installed, but I don't think that's a factor since my other PC works just fine with Windows 8 + VS 2012 Express + TS plugin.

I went into C:\Program Files (x86)\Microsoft SDKs\TypeScript\0.8.0.0 and with VS closed, I ran the TypeScriptLanguageService.vsix file.

HTH




回答2:


You did find the appropriate work-around.

One known issue with the installer is that if your "documents" path is on a network share, the VSIX doesn't get installed automatically. Is that the case for you?



来源:https://stackoverflow.com/questions/13282564/typescript-installs-incorrectly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!