Overview Version History Q & A Rating & Review
TypoScript Highlighting
Welcome to the TypoScript Highlighting extension for Visual Studio Code! This extension provides syntax highlighting specifically designed for TypoScript files, a configuration language used in TYPO3 CMS. Enhance your coding experience with better readability and clear structure.
Table of Contents
Features
Syntax highlighting for .typoscript and .tsconfig
Clear separation of variables, paths, operators, and comments
Support for additional constructs like @import and nested configurations
Lightweight and fast with no unnecessary overhead
Installation
Open Visual Studio Code.
Navigate to the Extensions Marketplace (Ctrl+Shift+X).
Search for "TypoScript Highlighting ".
Click Install .
Manual Installation
1. Build VS Code package .vsix file
npx @vscode/vsce package
2. Install created .vsix file
vscodium --install-extension typoscript-highlighting-*.vsix
How to Use
Open any file with the .typoscript or .tsconfig extension.
Syntax highlighting will be automatically applied.
Enjoy a cleaner and more structured view of your TypoScript code.
The extension can switch TypoScript comment rules based on the detected TYPO3 version.
auto (default): Detects the version from composer.lock (preferred) or composer.json.
v11: Forces TYPO3 v11.x comment rules.
v12: Forces TYPO3 v12+ comment rules (covers 12, 13, 14).
Setting key: typoscriptHighlighting.commentRules
Example:
{
"typoscriptHighlighting.commentRules": "auto"
}
Detection details:
composer.lock is used when present because it reflects the resolved TYPO3 version.
composer.json is used as a fallback when no lockfile exists.
Screenshots
Example of Syntax Highlighting:
Contributing
We welcome contributions to improve this extension! To contribute:
Fork the repository on GitHub.
Clone the forked repository.
Make your changes and create a pull request .
Feedback and Support
If you encounter any issues or have suggestions for improvements, please create an issue on GitHub .
License
This project is licensed under the MIT License .