[isaacsim.code_editor.vscode] VS Code integration#

Version: 1.0.5

VS Code version of Omniverse’s script editor

Enable Extension#

The extension can be enabled (if not already) in one of the following ways:

Define the next entry as an application argument from a terminal.

APP_SCRIPT.(sh|bat) --enable isaacsim.code_editor.vscode

Define the next entry under [dependencies] in an experience (.kit) file or an extension configuration (extension.toml) file.

[dependencies]
"isaacsim.code_editor.vscode" = {}

Open the Window > Extensions menu in a running application instance and search for isaacsim.code_editor.vscode. Then, toggle the enable control button if it is not already active.

Settings#

Extension Settings#

The table list the extension-specific settings.

Setting name

Description

Type

Default value

host

IP address where the extension server will listen for connections.

str

'0.0.0.0'

port

Port number where the extension server will listen for connections.

int

8226

carb_logs

Whether to publish incoming carb logging messages.

bool

True

The extension-specific settings can be either specified (set) or retrieved (get) in one of the following ways:

Define the key and value of the setting as an application argument from a terminal.

APP_SCRIPT.(sh|bat) --/exts/isaacsim.code_editor.vscode/SETTING_NAME=SETTING_VALUE

Define the key and value of the setting under [settings] in an experience (.kit) file or an extension configuration (extension.toml) file.

[settings]
exts."isaacsim.code_editor.vscode".SETTING_NAME = SETTING_VALUE

Define the key and value of the setting using the carb framework (in Python).

import carb

settings = carb.settings.get_settings()
settings.set("/exts/isaacsim.code_editor.vscode/SETTING_NAME", SETTING_VALUE)

Define the key to query the value of the setting using the carb framework (in Python).

import carb

settings = carb.settings.get_settings()
value = settings.get("/exts/isaacsim.code_editor.vscode/SETTING_NAME")