lift_indicator_suite/.devcontainer/devcontainer.json

76 lines
No EOL
2.8 KiB
JSON

{
"name": "MIMXRT1052 TFT Project",
"remoteUser": "devuser",
"build": {
"dockerfile": "Dockerfile"
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace",
"postCreateCommand": "cd tools/host && uv sync && cd ../.. && cmake --preset host-debug && cmake --preset Debug",
"customizations": {
"vscode": {
"extensions": [
"actboy168.tasks",
"bierner.markdown-preview-github-styles",
"cheshirekow.cmake-format",
"codeium.codeium",
"cschlosser.doxdocgen",
"dan-c-underwood.arm",
"davidanson.vscode-markdownlint",
"gruntfuggly.todo-tree",
"ms-vscode.cmake-tools",
"llvm-vs-code-extensions.vscode-clangd",
"mcu-debug.debug-tracker-vscode",
"mcu-debug.memory-view",
"mcu-debug.peripheral-viewer",
"marus25.cortex-debug",
"brobeson.ctest-lab",
"mcu-debug.rtos-views",
"ms-vscode.hexeditor",
"nefrob.vscode-just-syntax",
"rioj7.command-variable",
"trond-snekvik.gnu-mapfiles",
"usernamehw.errorlens",
"wayou.vscode-todo-highlight",
"xaver.clang-format",
"yzhang.markdown-all-in-one",
"zixuanwang.linkerscript"
],
"settings": {
"editor.formatOnSave": true,
"files.associations": {
"*.h": "c",
"*.c": "c"
},
"clangd.path": "clangd",
"clangd.arguments": [
"--query-driver=/opt/arm-toolchain/bin/arm-none-eabi-*",
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--log=error"
],
"clang-format.executable": "clang-format",
"clang-format.style": "file",
"clang-format.fallbackStyle": "LLVM",
"[c]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.formatOnSave": true
},
"[h]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.formatOnSave": true
},
"cmakeFormat.exePath": "cmake-format",
"[cmake]": {
"editor.defaultFormatter": "cheshirekow.cmake-format"
}
}
}
},
"runArgs": [
"--add-host=host.docker.internal:host-gateway",
"--name",
"tft-devcontainer"
]
}