mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
Editors that install extensions from Open VSX (VSCodium, Code-OSS builds, Gitpod) resolve recommendations by publisher namespace, and uavcan.dsdl, chiehyu.vscode-astyle and ms-iot.vscode-ros are not published there under namespaces their authors control. Anyone could register those names and have the recommendation, or the devcontainer, which installs its list without asking, run their extension for PX4 developers. Remove all three from the workspace recommendations and the devcontainer. They are conveniences: make format covers astyle, and the ROS extension is deprecated. Reported by @jray71682-blip. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Julian Oes <julian@oes.ch>
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/cpp
|
|
{
|
|
"name": "px4-dev-nuttx",
|
|
"image": "px4io/px4-dev-nuttx-focal:2022-08-12",
|
|
|
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"dan-c-underwood.arm",
|
|
"editorconfig.editorconfig",
|
|
"fredericbonnet.cmake-test-adapter",
|
|
"github.vscode-pull-request-github",
|
|
"marus25.cortex-debug",
|
|
"ms-azuretools.vscode-docker",
|
|
"ms-python.python",
|
|
"ms-vscode.cmake-tools",
|
|
"ms-vscode.cpptools",
|
|
"ms-vscode.cpptools-extension-pack",
|
|
"redhat.vscode-yaml",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"twxs.cmake",
|
|
"wholroyd.jinja",
|
|
"zixuanwang.linkerscript",
|
|
"ms-vscode.makefile-tools"
|
|
],
|
|
|
|
"containerUser": "user",
|
|
"containerEnv": {
|
|
"LOCAL_USER_ID": "${localEnv:UID}"
|
|
},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [14556],
|
|
}
|