Hi, I found how to enable IntelliSense for custom package locations (at least for the omniverse kit) in the container
It is necessary to install Remote - SSH and Python extension
Then, you need to edit the .vscode/settings.json and write the next lines where:
-
/isaac-sim/_build/target-deps/kit_sdk_release/_build/target-deps/python/bin/python3
is the python used by Isaac Sim -
/isaac-sim/_build/target-deps/kit_sdk_release/_build/linux-x86_64/release/plugins/bindings-python
contains the python bindings for omniverse kit
{
"python.pythonPath": "/isaac-sim/_build/target-deps/kit_sdk_release/_build/target-deps/python/bin/python3",
"python.autoComplete.extraPaths": [
"/isaac-sim/_build/target-deps/kit_sdk_release/_build/linux-x86_64/release/plugins/bindings-python"
]
}
The next image shows an example of IntelliSense working
Also, to guarantee the ssh connection with the container the next tips can be helpful:
-
Check the ssh service status in the container:
service ssh status
. If the service is not working, the restart it:service ssh restart
-
According to the steps that I use to connect to my container, I export the ssh port to 12222 (
-p 12222:22
). So, I specify the port in the ssh configuration file:Host Isaac HostName IP_OF_THE_REMOTE_WORKSTATION User root Port 12222