Skip to content

Commit

Permalink
Merge branch 'main' into 398-featureexperiment-proper-vscode-debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelberor authored Nov 18, 2024
2 parents 81b79a5 + b0be4de commit 498d24a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"richardkotze.git-mob",
"ms-vscode-remote.remote-containers",
"valentjn.vscode-ltex",
"ms-python.black-formatter"
"ms-python.black-formatter",
"augustocdias.tasks-shell-input"
]
}
22 changes: 22 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run 'catkin_make' in docker container. Choose container from list of running containers.",
"type": "shell",
"command": "docker exec -it ${input:container_name} bash -c 'cd ../../catkin_ws && source /opt/ros/noetic/setup.bash && bash devel/setup.bash && catkin_make'",
"problemMatcher": [],
"detail": "Executes 'catkin_make' selected container. Requires Tasks Shell Input Extension, in order to generate the list of containers.",
}
],
"inputs": [
{
"id": "container_name",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "docker ps --format '{{.Names}}'",
}
}
]
}

0 comments on commit 498d24a

Please sign in to comment.