vscode配置houdini开发环境加载python hou模块

使用stubs文件配置教程:

路径生成代码

其他视频配置教程如下,作者B站蝶舞艺海

代码如下

{
    "window.zoomLevel": 2,
    "security.workspace.trust.untrustedFiles": "open",
    "python.autoComplete.extraPaths": [

    ],
    "python.analysis.extraPaths": ["D:\\Program Files\\Side Effects Software\\Houdini 20.5.278\\houdini\\python3.11libs"
    ],
    "terminal.integrated.env.windows": {
        "PYTHONPATH":"D:\\Program Files\\Side Effects Software\\Houdini 20.5.278\\houdini\\python3.11libs",
        "PATH": "${env:PATH};D:\\Program Files\\Side Effects Software\\Houdini 20.5.278\\bin"
    },
    "python.languageServer": "Pylance",
}
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容