mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
After b1d708dd16, the Toolchain directory
was removed from the repository. Some documentation and scripts still
referenced it, so this commit removes those references. The only
remaining references are in the gitignore file, to prevent bisections
from being polluted by the presence of a Toolchain directory in the
working copy.
77 lines
2.8 KiB
JSON
77 lines
2.8 KiB
JSON
{
|
|
"name": "Ladybird",
|
|
"image": "mcr.microsoft.com/devcontainers/base:noble",
|
|
// Features to add to the dev container. More info: https://containers.dev/implementors/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
"ghcr.io/devcontainers-extra/features/pre-commit:2": {},
|
|
"./features/ladybird": {
|
|
"llvm_version": 20
|
|
},
|
|
"./features/vcpkg-cache": {
|
|
"release_triplet": true,
|
|
// FIXME: Figure out how to have the CI prebuilt version set both of these true
|
|
"debug_triplet": false,
|
|
"sanitizer_triplet": false
|
|
},
|
|
"ghcr.io/devcontainers/features/desktop-lite": {
|
|
"password": "vscode",
|
|
"webPort": "6080",
|
|
"vncPort": "5901"
|
|
}
|
|
},
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
6080,
|
|
5901
|
|
],
|
|
"portsAttributes": {
|
|
"5901": {
|
|
"label": "VNC"
|
|
},
|
|
"6080": {
|
|
"label": "Web VNC"
|
|
}
|
|
},
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "pre-commit install; pre-commit install --hook-type commit-msg",
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.cmake-tools",
|
|
"llvm-vs-code-extensions.vscode-clangd",
|
|
"eamodio.gitlens"
|
|
],
|
|
"settings": {
|
|
// Excluding the generated directories keeps your file view clean and speeds up search.
|
|
"files.exclude": {
|
|
"**/.git": true,
|
|
"Build/**": true
|
|
},
|
|
"search.exclude": {
|
|
"**/.git": true,
|
|
"Build/**": true
|
|
},
|
|
// Tab settings
|
|
"editor.tabSize": 4,
|
|
"editor.useTabStops": false,
|
|
// format trailing new lines
|
|
"files.trimFinalNewlines": true,
|
|
"files.insertFinalNewline": true,
|
|
// git commit message length
|
|
"git.inputValidationLength": 72,
|
|
"git.inputValidationSubjectLength": 72,
|
|
// If clangd was obtained from a package manager, its path can be set here.
|
|
// Note: This has to be adjusted manually, to the "llvm_version" from above
|
|
"clangd.path": "clangd-19",
|
|
"clangd.arguments": [
|
|
"--header-insertion=never" // See https://github.com/clangd/clangd/issues/1247
|
|
]
|
|
}
|
|
}
|
|
}
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root",
|
|
}
|