The official Visual Studio Code extension for Winter CMS, providing syntax highlighting, code completion and useful assistive features for developers working on Winter projects.
This extension is currently in preview and is not feature-complete.
Features
Currently available
Syntax highlighting for CMS template files and Winter CMS Block templates.
Twig definition for Winter-provided Twig functions and filters.
Planned for v1.0.0
YAML schema validation and code completion for the following configurations:
The YAML validation will require the YAML plugin provided by Red Hat. This will be installed automatically with this extension.
Additional notes
To enable Emmet features in theme templates, add the following to the emmet.includeLanguages setting in your settings.json in VSCode.
"emmet.includeLanguages": {
"wintercms": "html"
}
Compatibility with other extensions
If you are getting the error Symfony\Component\ErrorHandler\Error\FatalError: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable. in your logs or Ray output while you have the Laravel Extra Intellisense extension installed, then you can set LaravelExtraIntellisense.disableAuth to true in your VSCode extension settings.