Skip to content

VS Code extension that enables syntax highlighting for Textual CSS files.

License

Notifications You must be signed in to change notification settings

Textualize/tcss-vscode-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d6d33c · Jan 9, 2024

History

20 Commits
Aug 16, 2023
Jul 27, 2023
Jan 9, 2024
Jul 27, 2023
Jul 27, 2023
Aug 16, 2023
Jul 27, 2023
Jan 9, 2024
Jul 27, 2023
Aug 16, 2023
Jan 5, 2024
Aug 21, 2023
Aug 24, 2023
Aug 21, 2023
Jan 9, 2024
Aug 16, 2023
Aug 16, 2023
Jul 27, 2023

Repository files navigation

Textual CSS Syntax Highlighter

Features

Does syntax highlighting for Textual CSS files (files with the extension .tcss).

A view of a highlighted file.

It also does highlighting inside CSS and DEFAULT_CSS class variables in Python files:

A Python file and a CSS class variable highlighted.

Grammar dependency

This extension uses the grammar tcss.tmGrammar.json that is converted from the YAML grammar in the TCSS TextMate grammar repository. To convert the YAML grammar into this JSON grammar, use

npx js-yaml ../tcss-textmate-grammar/grammar.yaml > syntaxes/tcss.tmGrammar.json

Release Notes

See the change log.