Compare commits
4 Commits
ac0d64dd5e
...
python
| Author | SHA1 | Date | |
|---|---|---|---|
|
8a0c5d5349
|
|||
|
51f1bef505
|
|||
|
4fdab0225f
|
|||
|
6ee79587a5
|
@@ -1,32 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "Rust",
|
"name": "Python",
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--name=Rust",
|
|
||||||
"--network=host"
|
"--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",
|
"remoteUser": "dev",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"[rust]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.runBuildScripts": true,
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||||
"remote.autoForwardPorts": false
|
"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": [
|
"extensions": [
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
"rust-lang.rust-analyzer",
|
"ms-python.python",
|
||||||
"tamasfe.even-better-toml",
|
"ms-python.vscode-pylance",
|
||||||
"vadimcn.vscode-lldb",
|
"ms-python.black-formatter",
|
||||||
"dustypomerleau.rust-syntax",
|
"charliermarsh.ruff",
|
||||||
"chrisbeard.rustdocstring",
|
|
||||||
"mermaidchart.vscode-mermaid-chart"
|
"mermaidchart.vscode-mermaid-chart"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "tmux new-session -d -s dev 'cargo fetch'",
|
"postCreateCommand": "uv sync"
|
||||||
"postStartCommand": "tmux attach-session -t dev"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user