vscode + js 跨文件go to definition

You need to create a jsconfig.json file at the root of your project.

{
    "compilerOptions": {
        "target": "ES6"
    },
    "exclude": [
        "node_modules",
        "**/node_modules/*"
    ]
}

猜你喜欢

转载自blog.csdn.net/qq_14855277/article/details/120420462