Compare commits

4 Commits

View File

@@ -1,32 +1,42 @@
{
"name": "Rust",
"name": "Python",
"runArgs": [
"--name=Rust",
"--network=host"
],
"image": "git.luke-else.co.uk/luke-else/rust-dev:latest",
"image": "git.luke-else.co.uk/luke-else/python-dev:latest",
"remoteUser": "dev",
"customizations": {
"vscode": {
"settings": {
"editor.formatOnSave": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"rust-analyzer.cargo.runBuildScripts": true,
"remote.autoForwardPorts": false
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.analysis.typeCheckingMode": "basic",
"remote.autoForwardPorts": false,
"terminal.integrated.profiles.linux": {
"tmux-shell": {
"path": "tmux",
"args": [
"new-session",
"-A",
"-s",
"dev"
]
}
},
"terminal.integrated.defaultProfile.linux": "tmux-shell"
},
"extensions": [
"ms-azuretools.vscode-docker",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"vadimcn.vscode-lldb",
"dustypomerleau.rust-syntax",
"chrisbeard.rustdocstring",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"charliermarsh.ruff",
"mermaidchart.vscode-mermaid-chart"
]
}
},
"postCreateCommand": "tmux new-session -d -s dev 'cargo fetch'",
"postStartCommand": "tmux attach-session -t dev"
"postCreateCommand": "uv sync"
}