2023-04-11 16:31:01 +03:00
|
|
|
{
|
2023-05-26 05:52:46 +03:00
|
|
|
"editor.insertSpaces": true,
|
|
|
|
"editor.tabSize": 4,
|
2023-05-18 18:10:15 +03:00
|
|
|
"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
|
2023-05-22 05:04:04 +03:00
|
|
|
{"name": "textual", "depth": 5},
|
|
|
|
{"name": "rich", "depth": 5},
|
2023-05-18 18:10:15 +03:00
|
|
|
],
|
2023-06-12 06:48:35 +03:00
|
|
|
// Textual CSS is not browser CSS.
|
|
|
|
// In the future it would be nice to have custom CSS data for the framework.
|
|
|
|
// (I tried this feature, but my proof-of-concept didn't work. Maybe an extension would work? Maybe I did something simple wrong?)
|
|
|
|
// https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.md#custom-data-for-css-language-service
|
|
|
|
"css.validate": false,
|
|
|
|
// 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,
|
|
|
|
}
|
2023-04-11 16:31:01 +03:00
|
|
|
}
|