Qt5
To get code completion for Qt5 in vscode do:
-
download the compressed file from Client Challenge
-
Unpack the folder
PyQt5-stubsinto/Applications/IDA Professional 9.2.app/Contents/MacOS/python/folder. So that/Applications/IDA Professional 9.2.app/Contents/MacOS/python/PyQt5exists. -
Put the path
/Applications/IDA Professional 9.2.app/Contents/MacOS/pythoninto your analysis.extraPaths and autoComplete.extraPaths.
Pyside6
PySide6 is a bit less involved:
- Put the path
/Applications/IDA Professional 9.2.app/Contents/MacOS/python/PySide6/python3/site-packagesinto your analysis.extraPaths and autoComplete.extraPaths.
This snippet from ~/Library/Application Support/Code/User/settings.json might help you:
"python.autoComplete.extraPaths": [
"/Applications/IDA Professional 9.2.app/Contents/MacOS/python",
"/Applications/IDA Professional 9.2.app/Contents/MacOS/python/PySide6/python3/site-packages",
"/Applications/Binary Ninja.app/Contents/Resources/python"
],
"python.analysis.extraPaths": [
"/Applications/IDA Professional 9.2.app/Contents/MacOS/python",
"/Applications/IDA Professional 9.2.app/Contents/MacOS/python/PySide6/python3/site-packages",
"/Applications/Binary Ninja.app/Contents/Resources/python"
],