TypoScript Highlighting
TypoScript and TSconfig support for Visual Studio Code and VSCodium, targeting TYPO3 11–14.
- Automatic Composer and Classic installation detection, including active core symlinks.
- Syntax highlighting, outline, folding, imports, constant navigation and contextual completion.
- Site-set dependencies, typed YAML settings and static value history.
- Automatic Light/Dark colors, five presets and a visual editor for nine syntax colors.
- Diagnostics, legacy import quick fixes and optional indentation formatting.
Install · Get started · User guide · Settings · Troubleshooting

Installation
Download typoscript-highlighting-1.8.1.vsix from GitHub release 1.8.1, then run Extensions: Install from VSIX… in the Command Palette. From a terminal:
codium --install-extension typoscript-highlighting-1.8.1.vsix
# Visual Studio Code:
code --install-extension typoscript-highlighting-1.8.1.vsix
Requires a VS Code-compatible editor with API version 1.70 or newer. No separate Node.js, PHP or Composer installation is required.
The extension is also listed on the Visual Studio Marketplace and Open VSX. Registry publication is separate from GitHub releases; check the version shown by your registry.
Quick start
- Open your TYPO3 project or Sitepackage folder.
- Open a
.typoscript or .tsconfig file. Highlighting starts automatically.
- Check the TYPO3 version indicator in the status bar. Click it to inspect the detected version and source.
- Ctrl+click an import, use Go to Definition, open Outline, or invoke completion with Ctrl+Space. On macOS, use Cmd+click for links.
- Run TypoScript Highlighting: Theme Settings to choose a preset or edit your colors. Editing updates the preview; Save custom theme applies the draft.

For projects with several sites, the Site or Set status indicator selects the navigation context. The user guide explains import paths, site sets, detection overrides, themes and troubleshooting.
Settings reference
Search Settings for @ext:stefan-sofka.typoscript-highlighting. All five settings support User, Workspace and Folder scopes.
| Setting |
Default |
Purpose |
typoscriptHighlighting.theme |
auto |
auto, dark, light, nord, monokai, solarized or custom. |
typoscriptHighlighting.customTheme |
{} |
Saved custom colors and migrated compatibility data. Use Open Theme Settings to edit colors. |
typoscriptHighlighting.diagnostics.enabled |
true |
Structural, import, migration and site-set YAML diagnostics. |
typoscriptHighlighting.formatting.enabled |
false |
Conservative indentation formatting for structurally complete documents. |
typoscriptHighlighting.typo3Version |
auto |
Optional v11, v12, v13 or v14 target override. |
Existing settings migrate at their original scopes. See themes and migration for compatibility behavior.
Scope and limitations
The extension analyzes files available to the editor. PHP, Composer, TypoScript conditions, environment placeholders and database templates are not executed. Definitions and selected YAML values describe static sources rather than TYPO3's final runtime configuration.
See the analysis limits and security policy for details.
Documentation and contributing
| Document |
Use it for |
| User guide |
Features, examples and troubleshooting |
| Development |
Setup, tests, packaging and release steps |
| Architecture |
Module boundaries, state and migration invariants |
| Changelog |
Release changes |
| Development log |
Historical investigations and verification evidence |
| Security |
Security model and private vulnerability reports |
Bug reports and contributions are welcome on GitHub. Include a minimal example, editor/TYPO3 versions and relevant settings; remove credentials and private project data.
License
MIT © Stefan Sofka.