VS2015 does not have TypeScript template and it is not supporting typescript

前端 未结 3 1474
灰色年华
灰色年华 2021-01-25 11:38

I am working on Visual Studio 2015 professional. I have installed TypeScript using npm. TypeScript 2.0.3 installed. Then i tried to add a TypeScript file using Right Click on a

相关标签:
3条回答
  • 2021-01-25 12:10

    Try Visual Studio Code https://code.visualstudio.com

    Install Visual Studio Code 0.10.1 or higher

    Launch Code

    From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)

    Select Install Extension

    Choose the extension

    Reload Visual Studio Code

    For mode details check this github page

    https://github.com/johnpapa/vscode-angular2-snippets

    0 讨论(0)
  • 2021-01-25 12:18

    If you have already installed the TypeScript 2.03 plugin, and still don't see what you want, you may need the NodeJS tools for Visual Studio, Version 1.02 (or later) from https://www.visualstudio.com/vs/node-js/.

    The TypeScript starters I use are under Project/Add New Item dialog Installed/NodeJS. You probably need to be in a NodeJS project to get these to work.

    0 讨论(0)
  • 2021-01-25 12:37

    Try to install TypeScript for Visual Studio 2015 plugin if not already installed.

    If that doesn't help, there's a thread on the msdn forums that instruct to reinstall the templates with devenv.exe /InstallVSTemplates command.

    Hopefully this helps.

    0 讨论(0)
提交回复
热议问题