I am just posting this here for completeness (thx @dirk-thomas) and complement to
https://groups.google.com/forum/#!topic/ros-sig-ng-ros/UMjVH047nVc:
In ROS2 you can not have (yet?) your full workspace being imported in your IDE. However what you can have is individual packages and an environment for all dependencies. Say for e.g. rclcpp this what you do to get it imported into Clion:
You first need to compile ros_ws with ament:
https://github.com/ros2/ros2/wiki/Linux-Development-Setup.
> $ source ~/ros_ws/build/rclcpp/cmake__build.sh #this will setup your environment
> $ clion # go to File => Open => ~/ros2_ws/src/ros2/rclcpp => click OK
That's it!
---
[Visit Topic](
https://discourse.ros.org/t/ros2-clion/2508/1) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>