How to set intellisense for Angular.Js and Javascript in Visual Studio Code

前端 未结 5 1578
孤独总比滥情好
孤独总比滥情好 2020-12-09 04:23

I am trying to use Angular.js in Visual Studio Code. But it\'s not working. In visual studio 2013 I am able to get the IntelliSense, but not in Visual Studio Code.

5条回答
  •  眼角桃花
    2020-12-09 05:28

    This is what worked for me on Linux Ubuntu 16.04 x64

    npm init
    
    sudo npm install -g typings
    
    sudo ln -s /usr/bin/nodejs /usr/bin/node
    
    typings install dt~angular --save --global
    
    touch jsconfig.json
    

提交回复
热议问题