diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 5ba3ad6..f6ab93f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,7 @@ "streetsidesoftware.code-spell-checker", "ms-python.python", "ms-python.vscode-pylance", - "twixes.pypi-assistant" + "twixes.pypi-assistant", + "textualize.textual-syntax-highlighter" ] } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index aaaf219..de8dae2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,10 +12,10 @@ {"name": "rich", "depth": 5}, ], // 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, + // 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": {