houdini python configuration vscode environment

1. Find the houdini.env file in the python folder of my documents, open it, and add the statement

EDITOR = vscode路径
例如:EDITOR = D:\vscode\Microsoft VS Code\Code.exe

Insert picture description here

Next, press ait+E in the code compilation window such as python Source Editor in Houdini to open the vscode compiler. After entering the code in the compiler, save it, and close vscode to load the code into the window, as shown in the figure:

Insert picture description here
Second, add hou library
to vscode Find the location of hou library in houdini

print hou.__file__

Insert picture description here
Add a statement in the setting.json file of vscode

"python.autoComplete.extraPaths": ["D:/houdini/houdini/python2.7libs"]

Insert picture description here

Implemented code hint function
Insert picture description here

Guess you like

Origin blog.csdn.net/peixin_huang/article/details/103703827