ORise Robotics' VSCode workspace. It provides a .code-workspace configuration to be used inside a ros2 ORise container
Basically, the workspace file requires the definition of an environment variabled called COLCON_WORKSPACE_FOLDER, which is assumed to be the place where the formatting configuration folder .vscode-format and the colcon base-folders (build, install, log) live.
To work with containers, this package provides the helper script setup_workspace.sh: it copies the ros2.code-workspace file and the .vscode-format/ folder to inside the specified container, which is assumed to be running. It also creates a named remote container configuration file to allow attaching to the container as an specific user (orise by default).
Run setup_workspace.sh --help for more details about the script usage.
Recommend convenient extensions, configure formatting and linting tools, and provide helper tasks and build/test/debug launchs.
The workspace try to offer full formatting and linting tools to accomplish the rules defined by ament_lint_common
- Python: compatible with
amment_flake8andament_pep257using tools likeyapf,isort,flake8 - C++: compatible with
amment_uncrustify,amment_cpplint,amment_cppcheck - CMake: compatible with
ament_lint_cmakeusingcmake-format - XML: compatible with
ament_xml_lint - Yaml
Adapt tasks and launchs from athackst/vscode_ros2_workspace