mirror of
https://github.com/1j01/textual-paint.git
synced 2024-10-26 17:36:53 +03:00
VS Code: use the new Textual Syntax Highlighter extension
This commit is contained in:
parent
ec63ff0e55
commit
9183edbe53
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@ -3,6 +3,7 @@
|
|||||||
"streetsidesoftware.code-spell-checker",
|
"streetsidesoftware.code-spell-checker",
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"twixes.pypi-assistant"
|
"twixes.pypi-assistant",
|
||||||
|
"textualize.textual-syntax-highlighter"
|
||||||
]
|
]
|
||||||
}
|
}
|
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@ -12,10 +12,10 @@
|
|||||||
{"name": "rich", "depth": 5},
|
{"name": "rich", "depth": 5},
|
||||||
],
|
],
|
||||||
// Textual CSS is not browser CSS.
|
// Textual CSS is not browser CSS.
|
||||||
// In the future it would be nice to have custom CSS data for the framework.
|
// Use the Textual Syntax Highlighter extension.
|
||||||
// (I tried this feature, but my proof-of-concept didn't work. Maybe an extension would work? Maybe I did something simple wrong?)
|
"files.associations": {
|
||||||
// https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.md#custom-data-for-css-language-service
|
"*.css": "Textual CSS"
|
||||||
"css.validate": false,
|
},
|
||||||
// Prevent accidental editing of generated files and installed packages.
|
// Prevent accidental editing of generated files and installed packages.
|
||||||
// (You can always use File: Set Active Editor Writeable in Session if you need to.)
|
// (You can always use File: Set Active Editor Writeable in Session if you need to.)
|
||||||
"files.readonlyInclude": {
|
"files.readonlyInclude": {
|
||||||
|
Loading…
Reference in New Issue
Block a user