The extension settings are located in the Visual Studio Code storage, which can be called through the menu as follows: File → Preferences → Settings, then Extensions → KasperskyOS:
Add PathsAdd the path $SDK_PREFIX/toolchain/bin to the PATH variable. Enabled by default.
Auto Switch ExtensionReinstall extension when a new KasperskyOS SDK is selected. Enabled by default.
Auto Switch IntervalAn interval to check for extension updates in the current KasperskyOS SDK directory (in seconds). Set to 0 to disable. Default is 5.
Build Threads NumBuild threads number. Leave empty to use all available cores.
Cmake Build FlagsAdditional CMake flags for the build.
Cmake Config FlagsAdditional configuration flags for running CMake.
Editor: Auto Open Log TabAutomatically open the command log tab. Enabled by default.
Features:ProjectEnable project features (build/run/test/debug); requires KasperskyOS SDK. Enabled by default.
Force CleanClean the build directory with the KOS: Clean build directory command. Enabled by default.
Gdbinit FilePaths to gdbinit files with GDB commands to execute when the debugger is launched. Absolute paths start with /. Other paths are relative to workspace root. The ${BUILD_DIR} variable can be used in relative paths only. Default is ['${BUILD_DIR}/.gdbinit.ide'].
Nk Lsp BinaryKasperskyOS NK Language Server binary path.
Nk Lsp PathsAdditional search paths for KasperskyOS NK Language Server.
Sdk PathFull path to the installed KasperskyOS SDK.
Set Build DirFull path to build directory. If unspecified, the .build/{BuildFeatures} directory is used.
Shell Export VariablesAdditional variables to export before running CMake.
Show Last Logs NumShow the number of the last lines of the emulator log. Value -1 – show all. Default is 500.
Show Sdk Env Variables Changed MessageShow a message when changing SDK that updated environment variables are available in the new terminal. Enabled by default.
Suppress Extensions RecommendationsSuppress installation of recommended extensions. Disabled by default.
Test ArgumentsArguments for the tests.
Test Environment VariablesEnvironment variables initializations for the tests.
Test Failures NumMaximum number of failed tests to show in Failure details in output window. Leave empty to display all failures.
Test Failures OnlyShow only failed tests in the output window. Disabled by default.
Test Files PatternWildcard pattern to discover test files. Default is **/{test,tests}/**/*.{c,cpp}.
Test No SkippedDon't show skipped tests details in the output window. Disabled by default.
Test Skip DetailsDon't show skipped and failed test details in the output window. Disabled by default.
Test Threads NumNumber of threads for multiple test execution. Leave this field blank to use all available cores. (Note 1. The real-time test log is available only when running tests in the same thread. Note 2. VSC will use single thread if only one test is running).
Test TimeoutTimeout for each test, in seconds. Set to 0 to use values from test configs. Default is 0.
Test VerboseAlways run tests in verbose mode (print debug information). Disabled by default.
Trace:ServerThe trace level of the KasperskyOS NK Language Server. Default is verbose.
User SDK PathsAdditional SDK paths to display in the SDK selection menu.
Page top