Chore: Updated .vscode/* files and other boilerplate stuff

This commit is contained in:
2026-02-18 07:36:26 +00:00
parent 608d1e6f13
commit ba97abf0c5
11 changed files with 3533 additions and 129 deletions

View File

@ -1,5 +1,14 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
}
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": [
"ms-vscode-remote.remote-wsl",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"charliermarsh.ruff",
"docker.docker",
"angular.ng-template",
"dbaeumer.vscode-eslint",
"tombi-toml.tombi"
]
}

70
.vscode/launch.json vendored
View File

@ -1,31 +1,43 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
},
{
"name": "Python: FastAPI",
"type": "debugpy",
"request": "launch",
"module": "brewman",
"args": [],
"cwd": "${workspaceFolder}/brewman",
"justMyCode": true
}
]
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: FastAPI (debug, no reload)",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"brewman.main:app",
"--port",
"9998"
],
"cwd": "${workspaceFolder}/brewman",
"justMyCode": true,
"console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
"env": {
"PYTHONUNBUFFERED": "1"
}
},
{
"name": "Angular: Chrome",
"type": "chrome",
"request": "launch",
"preLaunchTask": "frontend: dev (npm start)",
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}/overlord"
}
],
"compounds": [
{
"name": "Dev: Backend + Frontend",
"configurations": [
"Python: FastAPI (debug, no reload)",
"Angular: Chrome"
]
}
]
}

13
.vscode/mcp.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
// For more information, visit: https://angular.dev/ai/mcp
"servers": {
"angular-cli": {
"command": "npx",
"args": [
"-y",
"@angular/cli",
"mcp"
]
}
}
}

70
.vscode/settings.json vendored
View File

@ -1,23 +1,51 @@
{
"python.defaultInterpreterPath": "/home/tanshu/.cache/pypoetry/virtualenvs/brewman-C3_Ccu4O-py3.13/bin/python",
"files.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
"typings": true,
},
"search.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
"**/package-lock.json": true,
"/overlord/.angular/**": true,
"typings": true,
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"makefile.configureOnOpen": false
// Use WSL paths + Poetry venv interpreter
"python.defaultInterpreterPath": "/home/tanshu/.cache/pypoetry/virtualenvs/brewman-C3_Ccu4O-py3.14/bin/python",
"python.terminal.activateEnvironment": true,
// Quality-of-life
/* --- Pylance: keep IntelliSense, disable type checking --- */
// "python.analysis.typeCheckingMode": "off",
// "python.analysis.diagnosticMode": "openFilesOnly",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.extraPaths": [
"./brewman"
],
// Ruff (you have ruff installed via poetry)
"editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"ruff.enable": true,
"files.eol": "\n",
"eslint.workingDirectories": [
{
"directory": "overlord",
"changeProcessCWD": true
}
],
"makefile.configureOnOpen": false,
"files.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
"typings": true,
},
"search.exclude": {
"**/__pycache__": true,
"**/.mypy_cache": true,
".idea": true,
"**/node_modules": true,
"**/poetry.lock": true,
"**/package-lock.json": true,
"/overlord/.angular/**": true,
"typings": true,
},
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "always",
"source.fixAll.eslint": "always",
},
"python-envs.defaultEnvManager": "ms-python.python:poetry",
"python-envs.defaultPackageManager": "ms-python.python:poetry",
"python-envs.pythonProjects": []
}

123
.vscode/tasks.json vendored
View File

@ -1,46 +1,87 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"isBackground": true,
"options": {
"cwd": "${workspaceFolder}/overlord"
},
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
"version": "2.0.0",
"tasks": [
{
"label": "backend: dev (uvicorn reload)",
"type": "shell",
"command": "poetry run uvicorn brewman.main:app --reload",
"options": {
"cwd": "${workspaceFolder}/brewman"
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
"problemMatcher": {
"owner": "python",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".*Uvicorn running on.*",
"endsPattern": ".*Application startup complete.*"
}
}
},
{
"label": "backend: debug (no reload)",
"type": "shell",
"command": "poetry run uvicorn brewman.main:app",
"options": {
"cwd": "${workspaceFolder}/brewman"
},
"problemMatcher": {
"owner": "python",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error|warning):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".*Uvicorn running on.*",
"endsPattern": ".*Application startup complete.*"
}
}
},
{
"label": "frontend: dev (npm start)",
"type": "npm",
"script": "start",
"isBackground": true,
"options": {
"cwd": "${workspaceFolder}/overlord"
},
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Changes detected"
},
"endsPattern": {
"regexp": "bundle generation (complete|failed)"
}
}
}
]
}
},
{
"label": "dev: run both",
"dependsOn": [
"backend: dev (uvicorn reload)",
"frontend: dev (npm start)"
],
"dependsOrder": "parallel"
}
]
}