QNX Toolkit Contribution Points
You can use this reference to understand the QNX Toolkit commands and settings within VS Code.
QNX Toolkit commands
All commands can be activated with direct command invocation ( Ctrl+Shift+P ). In addition, some commands appear in links, menus, and buttons (refer to the "Description" column).
ID | Name | Description |
---|---|---|
qnx.config.openWalkthrough | Open QNX Toolkit Walkthrough | Opens the Walkthrough that enables the user to configure and get started with QNX Toolkit. |
qnx.config.resetSdp | Reset the SDP Environment | This command updates the main process environment with the settings of QNX_HOST and QNX_TARGET using qnx.sdp_root. It is automatically invoked when #qnx.sdpPath changes. |
qnx.config.selectSdpPicker | Select SDP Path | |
qnx.config.terminal | Open QNX Local Terminal | |
qnx.debug.attach | Attach Debugger to QNX Process | Automatically creates a launch configuration and attaches it to the running process. If a process is not selected, prompts the user for input; appears in: view/item/context (menu) |
qnx.debug.buildAndDebugFile | QNX: Debug Single File | |
qnx.debug.buildAndRunFile | QNX: Run Single File | |
qnx.debug.createQnxLaunchConfig | Generate QNX Launch Configurations | |
qnx.debug.debug | Debug as QNX Application | |
qnx.debug.run | Run as QNX Application | |
qnx.license.activation | Activate QNX Toolkit License | |
qnx.license.checkout | Checkout QNX Toolkit License | |
qnx.license.heartbeat | Send QNX Toolkit License Heartbeat | |
qnx.monitoring.openProcessInfo | Open Process Information | |
qnx.monitoring.openProcessTable | Open Process Table | |
qnx.monitoring.openView | Open a Target Monitoring View | |
qnx.projects.buildActiveProject | Build Active Project | |
qnx.projects.createQnxProject | Create New Project | Creates a project outside of the currently opened folder, and then adds it to the Workspace. Project is created in the ${config:qnx.config.defaultProjectsRoot} folder. Appears in: qnx.explorer (menu) |
qnx.projects.generateExamples | Generate QNX Example Projects | |
qnx.projects.generateVsCodeConfigs | Generate .vscode Files | |
qnx.projects.initializeQnxProject | Generate Project Template | Generates a rec-make structure, as well as tasks and launch configurations; appears in: qnx.explorer (menu) |
qnx.targets.addfolder | Add QNX Target Folder to Workspace | |
qnx.targets.connect | Start Monitoring | |
qnx.targets.create | Create QNX Target Connection | |
qnx.targets.delete | Delete QNX Target Configuration | |
qnx.targets.disconnect | Stop Monitoring | |
qnx.targets.edit | Edit QNX Target Configuration | |
qnx.targets.fs.mount | Mount QNX Target File System to Workspace | |
qnx.targets.process.sentSignal | Send Signal | |
qnx.targets.process.slay | Slay Process | |
qnx.targets.processes.sortByName | Sort by Name | |
qnx.targets.processes.sortByPid | Sort by pid | |
qnx.targets.refresh | Refresh | |
qnx.targets.setDefault | Set as Default Target | |
qnx.targets.sshTerminal | Open SSH Terminal | |
qnx.targets.tracelogger | Capture QNX Kernel Event Trace (with tracelogger) | |
qnx.targets.vmCreate | Create QNX Virtual Target | |
qnx.targets.vmInit | Rebuild VM | |
qnx.targets.vmRun | Run VM | |
qnx.targets.vmStop | Stop VM | |
qnx.traceserver.startServer | Start QNX Trace Server | Runs automatically when the extension activates if
qnx.traceServer.startOnActivation is set to true or
when the trace.kev file is opened. |
qnx.traceserver.stopServer | Stop QNX Trace Server | |
qnx.traceviewer.formatCustomUserEvents | Set User Event Data Formatting File | |
qnx.traceviewer.saveFilteredFile | Save Filtered File |
QNX Toolkit settings
Some of these settings are configured using the "Getting Started with VS Code" walkthrough included with the IDE. You can also view the complete list from the Extension settings screen.
To view the settings:
- From the VS Code Activity Bar, click QNX Toolkit.
- Click the gears icon next to the name of the extension.
- Click Extension Settings. The QNX Development settings are displayed.
Id | Name | Type | Description |
---|---|---|---|
qnx.arch | Qnx: Arch | string |
The default target architecture. Default: x86_64 |
qnx.archList | Qnx: Arch List | string |
The target architectures for generated projects (comma-separated list, e.g., "x86_64,aarch64le"). The first architecture on the list is the default for new projects. |
qnx.config.autoUpdateCppDefaults | Qnx > Config: Auto Update Cpp Defaults | boolean |
Update C/C++ defaults when changing #qnx.sdpPath# (i.e.,#C_Cpp.default.compilerPath#). This settings is required so we don't change user defaults from another extension without their consent. Default: true |
qnx.config.defaultProjectsRoot | Qnx > Config: Default Projects Root | string |
The default path to directory where QNX projects, targets, and examples are created. Default: "${userHome}/qnxprojects" |
qnx.config.javaSearchPath | Qnx > Config: Java Search Path | string |
The path to the JVM/JDK folder containing the Java binary you wish to launch the QNX Trace Server with. By default, the system path is used. Click Browse to select file (User scope only). |
qnx.debugShortcut | Qnx: Debug Shortcut | boolean |
Show build and run current file button in the editor. Default: |
qnx.installRoot | Qnx: Debug Shortcut | boolean |
Staging directory to install QNX artifacts. Default: "${userHome}/qnxprojects/stage" |
qnx.log.show | Qnx > Log: Show | boolean |
Output logs to the QNX developer output channel. Default: true |
qnx.projects.autoConfigure | Qnx > Projects: Auto Configure | string |
Auto-configure QNX projects when discovered (generates configuration files in the .vscode folder). Default: prompt |
qnx.sdpPath | Qnx: Sdp Path | string |
The root directory of your SDP. Set to use_env to use environment variables (i.e., QNX_TARGET). Click Browse to select from list (User scope only). |
qnx.sysinfo.pollInterval | Qnx > Sysinfo: Poll Interval | integer | Poll interval for QNX system processes. Range: 0-999999 (seconds). Default: 5 |
qnx.targets.defaults.vmoptions | Qnx > Targets > Defaults: Vmoptions | string |
The default mkqnximage options for QNX Virtual Machine Targets. Default: ${command:qnx.askForVmOptions} |
qnx.targets.defaults.vmtype | Qnx > Targets > Defaults: Vmtype | string |
The default VM type for QNX Virtual Machine Targets. Default: ${command:qnx.askForVmType} |
qnx.targets.defaultTarget | Qnx > Targets: Default Target | string |
The default QNX Target. |
qnx.targets.list | Qnx > Targets: List | array | List of targets configured via the Target Navigator. |
qnx.targets.maxConnectionTime | Qnx > Targets: Max Connection Time | number | (Optional) The maximum time to spend trying to connect to a target (in seconds), before failing with an error. |
qnx.traceServer.port | Qnx > Trace Server: Port | number | Port QNX Trace Server will use. Default: 8042 |
qnx.traceServer.startOnActivation | Qnx > Trace Server: Start On Activation | boolean |
Start QNX Trace Server automatically upon extension activation. Default: false . |
qnx.traceviewer.UserEventsDefinitionFile | Qnx > Trace Server: Start On Activation | boolean |
Path to user events definiton file. Default: "" . |