|
| 1 | +{ |
| 2 | + "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json", |
| 3 | + "name": "IPCToolkit C++ Development Container", |
| 4 | + "build": { |
| 5 | + "dockerfile": "Dockerfile", |
| 6 | + "context": ".." |
| 7 | + }, |
| 8 | + "customizations": { |
| 9 | + "vscode": { |
| 10 | + "settings": { |
| 11 | + "terminal.integrated.shell.linux": "/bin/fish", |
| 12 | + "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", |
| 13 | + "C_Cpp.default.intelliSenseMode": "gcc-x64", |
| 14 | + "C_Cpp.default.compilerPath": "/usr/bin/clang++-18", |
| 15 | + "C_Cpp.clang_format_path": "/usr/bin/clang-format-18", |
| 16 | + "C_Cpp.clang_format_style": "file", |
| 17 | + "cmake.configureOnOpen": true, |
| 18 | + "cmake.buildDirectory": "${workspaceFolder}/build", |
| 19 | + "python.pythonPath": "/usr/bin/python3", |
| 20 | + "python.linting.enabled": true, |
| 21 | + "python.linting.pylintEnabled": true, |
| 22 | + "python.formatting.provider": "black", |
| 23 | + "prettier.requireConfig": true |
| 24 | + }, |
| 25 | + "extensions": [ |
| 26 | + "ms-vscode.cpptools", |
| 27 | + "ms-vscode.cmake-tools", |
| 28 | + "xaver.clang-format", |
| 29 | + "ms-python.python", |
| 30 | + "ms-azuretools.vscode-docker", |
| 31 | + "eamodio.gitlens", |
| 32 | + "esbenp.prettier-vscode", |
| 33 | + "mhutchie.git-graph", |
| 34 | + "twxs.cmake", |
| 35 | + "jeff-hykin.better-cpp-syntax", |
| 36 | + "vadimcn.vscode-lldb", |
| 37 | + "cschlosser.doxdocgen", |
| 38 | + "ms-python.vscode-pylance", |
| 39 | + "mutantdino.resourcemonitor", |
| 40 | + "randomfractalsinc.vscode-data-preview", |
| 41 | + "oderwat.indent-rainbow", |
| 42 | + "formulahendry.code-runner", |
| 43 | + "donjayamanne.git-extension-pack" |
| 44 | + ] |
| 45 | + } |
| 46 | + }, |
| 47 | + "postCreateCommand": "pre-commit install", |
| 48 | + "remoteUser": "devuser", |
| 49 | + "mounts": [ |
| 50 | + "source=${localWorkspaceFolder}/.ccache,target=/home/devuser/.ccache,type=bind,consistency=cached" |
| 51 | + ], |
| 52 | + "forwardPorts": [], |
| 53 | + "remoteEnv": { |
| 54 | + "CCACHE_DIR": "/home/devuser/.ccache", |
| 55 | + "CCACHE_MAXSIZE": "1G" |
| 56 | + }, |
| 57 | + "workspaceFolder": "/home/devuser/workspace", |
| 58 | + "workspaceMount": "source=${localWorkspaceFolder},target=/home/devuser/workspace,type=bind,consistency=cached" |
| 59 | +} |
0 commit comments