Skip to content

Commit 1c55c04

Browse files
authored
Add VSCode workspace (#1941)
Related tiny-pilot/tinypilot-pro#1731 This PR adds a VSCode workspace file and moves all default `.vscode/*` settings to `tinypilot.code-workspace`. To make use of this new workspace, you need open VSCode via the workspace file. - Option 1: Using GUI VSCode > FIle > Open Workspace from File... > `tinypilot.code-workspace` - Option 2: Using terminal ```bash code ./tinypilot.code-workspace ``` Once the workspace is open, the VSCode file explorer should display a single section: <img width="370" height="317" alt="Screenshot 2026-02-09 at 14 47 40" src="https://github.com/user-attachments/assets/aafe146d-c73f-4aed-a783-01bb14b77406" /> This PR also replaces some outdated settings keys, namely: - `python.formatting.provider` - `python.linting.pylintEnabled` - `python.linting.enabled` - `python.linting.lintOnSave` These changes are needed to support multiple Python virtual environments in Pro: - tiny-pilot/tinypilot-pro#1755 <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1941"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a>
1 parent 1223e3d commit 1c55c04

File tree

3 files changed

+30
-23
lines changed

3 files changed

+30
-23
lines changed

.vscode/extensions.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

tinypilot.code-workspace

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"folders": [
3+
{
4+
"name": "TinyPilot App",
5+
"path": "."
6+
}
7+
],
8+
"settings": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode",
10+
"editor.formatOnSave": true,
11+
"[markdown]": {
12+
"editor.formatOnSave": false
13+
},
14+
"[python]": {
15+
"editor.defaultFormatter": "eeyore.yapf",
16+
"editor.formatOnSave": true,
17+
"editor.tabSize": 4
18+
},
19+
"python.defaultInterpreterPath": "${workspaceFolder}/venv/bin/python",
20+
"pylint.enabled": true
21+
},
22+
"extensions": {
23+
"recommendations": [
24+
"charliermarsh.ruff",
25+
"esbenp.prettier-vscode",
26+
"ms-python.pylint",
27+
"ms-python.python"
28+
]
29+
}
30+
}

0 commit comments

Comments
 (0)