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
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:
Second, add hou library
to vscode Find the location of hou library in houdini
print hou.__file__
Add a statement in the setting.json file of vscode
"python.autoComplete.extraPaths": ["D:/houdini/houdini/python2.7libs"]
Implemented code hint function