Provides some simple helper functions to work with catkin projects. It basically wraps shell-commands to build & test the code into VS Code functionality, which allows to assign some handy keybindings. It also allows to take full advantage of the integrated terminal for debugging purposes/error handling.
Features
Related to the currently opened file:
1.1 Call catkin build on the opened file's package (w/ dependencies).
1.2 Call make install in the build folder of the opened file's package (w/o dependencies).
1.3 Call make tests for the opened file's package (w/o dependencies).
1.4 Run all tests for the opened file's package.
1.5 Discover all test cases of opened file's package for the Test Explorer (this also allows to run and evaluate test cases in the Test Explorer).
Related to opened catkin workspace:
2.1 Pick package from list for a catkin build (see 1.1 above).
2.2 Pick package from list for a make install (see 1.2 above).
Commands/Keybindings
Name
Description
Default Value
Catkin Helpers (Current File): catkin-build current package
See 1.1 from above
undefined
Catkin Helpers (Current File): Make current package
See 1.2. from above
ctrl+b
Catkin Helpers (Test): Make tests of current package
See 1.3. from above
undefined
Catkin Helpers (Test): Run tests of current package
See 1.4. from above
undefined
Catkin Helpers (Test): Discover tests of current package
See 1.5. from above
undefined
Catkin Helpers (List): Select package to catkin-build
See 2.1. from above
undefined
Catkin Helpers (List): Select package to make
See 2.2. from above
ctrl+m
Options
Name
Description
Default Value
catkin-helpers.shelltype
Shell type of the integrated terminal (only the ones supported by catkin). This is required for sourcing the environment before test execution.
bash
Known Issues
Nothing known so far. Please report bugs! This is a very early version!