The extension adds the following commands to the command palette in the Visual Studio Code editor:
KOS: Activate extension in this directoryActivates the KasperskyOS SDK Extension and creates an empty .vscode/kos_project.json file in the working directory.
KOS: Add SDK to the user's SDK listPrompts to choose a new KasperskyOS SDK path in the file open dialog and adds it to the SDK selection list.
KOS: Build projectBuilds the all build target for the currently selected architecture. You can also execute this command by clicking the gear button in the status bar.
KOS: Change SDK for the current projectPrompts to choose a new KasperskyOS SDK path. Use this command to update the KasperskyOS SDK Extension after updating or reinstalling the KasperskyOS SDK. You can also use this command to switch to another KasperskyOS SDK when multiple SDKs are installed.
KOS: Clean build directoryCleans the build directory for the current project. You can also execute this command by clicking the trash button in the status bar.
KOS: Configure clang-formatSets the clang VS Code extension as the default formatter for C/C++ languages.
KOS: Configure clang-tidyConfigures the clang-tidy tool for C/C++ code static analysis. Requires the cpptools VS Code extension to be installed. Updates the path to the clang-tidy binary (if the binary exists in the KasperskyOS SDK directory) and enables clang-tidy for the workspace.
KOS: Configure clangdConfigures the Clangd language server for C/C++ development. Requires the clangd VS Code extension to be installed. Disables the IntelliSense engine provided by the Microsoft's C/C++ extension to avoid conflicts with Clangd. Updates Clangd settings based on the KasperskyOS SDK path and build directory. In particular, it updates the path to the Clangd binary (if the binary exists in the SDK directory).
KOS: Disable extension in this directoryDisables the KasperskyOS SDK Extension in the current directory and deletes the .vscode/kos_project.json file.
KOS: Generate policy file for current projectCreates basic solution security policy descriptions for the current project.
KOS: Install packageInstalls the specified KPA package to the selected emulator. Prompts to pick a KPA file in the file open dialog.
KOS: New projectCreates a new KasperskyOS SDK project based on a selected template or example project supplied with SDK.
KOS: Open documentationOpens the KasperskyOS SDK documentation in the default system browser.
KOS: Open documentation for current projectOpens the current project's documentation (if any). Examples, shipped with the KasperskyOS SDK have their own documentation.
KOS: Open in Dev ContainerOpens the current directory in a dev container supplied with the KasperskyOS SDK. Uses the Visual Studio Code Dev Containers extension.
KOS: Reset documentation suggestionsResets the documentation suggestions.
KOS: Restart NK language serverRestarts the KasperskyOS NK Language Server.
KOS: Run cmakeRuns CMake to configure the current project's build directory for the selected build architecture. You can also execute this command by clicking the wrench button in the status bar.
KOS: Run project in QEMUStarts the sim build target that runs the project in an emulator associated with this target. The KOS: Select device command selection has no effect on this command.
KOS: Select build targetPrompts to choose a build target for the current project. You can also execute this command by clicking the previously selected target name in the status bar.
KOS: Select devicePrompts to choose an emulator to connect to, or create a new emulator. You can also execute this command by clicking the device name (or No device if no device is selected) in the status bar.
KOS: Set build directory for the current projectPrompts to choose the current project's build directory in the directory open dialog.
KOS: Start applicationStarts the specified program in the currently selected emulator or physical device. Prompts to choose an identifier of a program to start.
KOS: Start debuggingStarts debugging the currently selected target. You can also execute this command by clicking the debug button in the status bar.
KOS: Uninstall packageUninstalls the specified KPA package from the currently selected emulator or physical device. Prompts to choose an identifier of a package to uninstall.
Page top