ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In your .vscode/c_cpp_properties.json

{
"configurations": [
    {
        "name": "Linux",
        "includePath": [
            "${workspaceFolder}/**",
            "/opt/ros/noetic/include"
        ],
        "defines": [],
        "compilerPath": "/usr/bin/gcc",
        "cStandard": "gnu11",
        "cppStandard": "c++11",
        "intelliSenseMode": "linux-gcc-x64"
    }
],
"version": 4
}

in your .vscode/settings.json for autocomplete python

{
"editor.tabSize": 4,
"ros.distro": "noetic",
"ros.rosSetupScript": "/opt/ros/noetic/setup.bash",

"python.autoComplete.extraPaths": [
    "/opt/ros/noetic/lib/python3/dist-packages"
],
}