JQuery intellisense in Visual Studio Code

后端 未结 7 796
粉色の甜心
粉色の甜心 2020-12-13 11:26

I decided to jump in Visual Studio Code to create an app.
Now I can\'t seem to get intellisense working for both JQuery and JQuery Mobile.

My VSC version is 0.10

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 12:07

    under typings/ directory create a file called "tsd.d.ts" with the following content:

    /// 
    /// 
    

    jsconfig.json need not contain the files attribute:

    {
        "compilerOptions": {
            "target": "ES5",
        }
    }
    

提交回复
热议问题