VSCode, how to source environment variable files like setup.bash?

Viewed 625

So I'm working with WSL, ROS, and VSCode.

When working on Ubuntu, I would just source /opt/ros/ros-distro/setup.bash before running VsCode to source the environment variables.

When working with WSL, I need a way to run the source setup.bash from already opened VSCode. Running source command on integrated terminal doesn't seem to source environment to VSCode itself.

Is there a way to do this?

0 Answers
Related