Adopted from link
- Replace field in
remoteUser: "user"with host username - Replace field
USERNAME: "user"with container username
- Create src folder
- Create ros package in src
Follow the instructions in your IDE of choice on using Dev Containers
- When Building colcon add the following
--cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- Select File -> Open -> Select
/home/ws/build/compile_commands.json - Select Call Tools -> Compilation Database -> Change Project Root
/home/ws - IDE will now not yell at you about files being out of project scope