Isaac Sim VSCode support in Ubuntu

Hi all, I have a confusion on how to set the Isaac Sim or VSCode to make them fit together.
Here is the screenshoot of the editor.

It’s unable to link to the definition of the Variables, Functions and Classes via CTRL.
It may be the problem of .json file or some other configuration files, but I dont know how to set it.
That’s really a trouble for me during coding.
Can you help me with the issue above?

Hi @ShawnZhou997 - To enable IntelliSense (the feature that provides smart completions based on variable types, function definitions, and imported modules) in Visual Studio Code for Isaac Sim, you need to configure your settings properly. Here’s a general guide on how to do it:

  1. Open Visual Studio Code.
  2. Go to File > Open Folder and open the folder where your Isaac Sim project is located.
  3. Once the folder is open, go to View > Command Palette or press Ctrl+Shift+P to open the Command Palette.
  4. Type Python: Select Interpreter and select it. This will allow you to choose the Python interpreter to use for your project.
  5. In the Python interpreter selection, choose the Python interpreter that matches the one used by Isaac Sim. If you’re unsure, you can check the Python version used by Isaac Sim by running python --version in the Isaac Sim terminal.
  6. Now, go to File > Preferences > Settings or press Ctrl+, to open the Settings.
  7. In the Settings, search for python.autoComplete.extraPaths.
  8. Click on Edit in settings.json and add the paths to the Isaac Sim Python libraries. It should look something like this:
    "python.autoComplete.extraPaths": [

Replace /path/to/isaac-sim with the actual path to your Isaac Sim installation.

  1. Save the settings.json file and restart Visual Studio Code.

After following these steps, IntelliSense should work properly with Isaac Sim in Visual Studio Code. You should be able to navigate to the definition of variables, functions, and classes by pressing Ctrl and clicking on them.

Thank you. @rthaker
I’ve set the settings.json file as you adviced.
However, the VSCode still doesn’t work.
Take the omni.isaac.urdf for an example.
Here is the settings.json file.

“python.autoComplete.extraPaths”: [
“python.analysis.extraPaths”: [ ]

And what the file in the corresponding directory shows is as below.

Can you help me with the issue?
Thank you again.

BTW, with or without “~/python”, VSCode shows the same.