Files

47 lines
1.2 KiB
JSON

{
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.terminal.activateEnvironment": true,
// Format on save with black
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.rulers": [100]
},
// Textual CSS gets syntax highlighting as plain CSS
"[tcss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"files.associations": {
"*.tcss": "css"
},
// Keep the explorer clean
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
".venv": true,
"*.egg-info": true
},
// Terminal opens in project root
"terminal.integrated.cwd": "${workspaceFolder}",
// Font that makes the TUI source code feel right
"editor.fontFamily": "'JetBrains Mono', 'Fira Code', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.lineHeight": 1.6,
// Show whitespace so indentation errors are obvious in Python
"editor.renderWhitespace": "boundary",
// Dark theme that won't clash with spending time in the TUI
"workbench.colorTheme": "Default Dark Modern",
"editor.minimap.enabled": false,
"breadcrumbs.enabled": true,
"explorer.compactFolders": false
}