mirror of
https://github.com/1j01/textual-paint.git
synced 2024-09-11 15:56:03 +03:00
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"editor.insertSpaces": true,
|
|
"editor.tabSize": 4,
|
|
"python.analysis.packageIndexDepths": [
|
|
// The default depth is 1 (top-level only),
|
|
// which doesn't let auto-imports work for Textual,
|
|
// i.e. the Quick Fix for missing names, and
|
|
// maybe an auto-complete feature that I don't use.
|
|
// (2 might be sufficient.)
|
|
// https://github.com/Textualize/textual/issues/2104
|
|
{"name": "textual", "depth": 5},
|
|
{"name": "rich", "depth": 5},
|
|
],
|
|
// Textual CSS is not browser CSS.
|
|
// Use the Textual Syntax Highlighter extension.
|
|
"files.associations": {
|
|
"*.css": "Textual CSS"
|
|
},
|
|
// Prevent accidental editing of generated files and installed packages.
|
|
// (You can always use File: Set Active Editor Writeable in Session if you need to.)
|
|
"files.readonlyInclude": {
|
|
"**/localization/**/*.js": true,
|
|
"**/localization/**/*.json": true,
|
|
"**/localization/**/*.rc": true,
|
|
"**/build/**": true,
|
|
"**/dist/**": true,
|
|
"**/.venv/**": true,
|
|
"**/venv/**": true,
|
|
"**/.env/**": true,
|
|
"**/env/**": true,
|
|
"**/ENV/**": true,
|
|
}
|
|
} |