athackst / vscode_ros2_workspace

A template for using VSCode as an IDE for ROS2 development.
https://althack.dev/vscode_ros2_workspace
Apache License 2.0
857 stars 177 forks source link

Add source script for ament tasks #75

Closed athackst closed 7 months ago

athackst commented 7 months ago

Update to the ROS2 ament task provider extension (>=0.3.0) and set the command to source your environment in .vscode/settings.json

This change adds the following:

"ament-task-provider.envSetup": "source /opt/ros/humble/setup.bash",

Closes #71 Closes #73