Releases: shopware/shopware6-phpstorm-plugin
Release list
0.1.1
- Restored the inheritance gutter markers on Twig blocks that were lost with the reworked Twig template handling in
0.1.0: a block now shows an "overrides" icon when it overrides a block of thesw_extendschain and an "overridden" icon when extending templates override it, both navigating to the related blocks. The markers are provided by the plugin itself and no longer require the Symfony plugin. Fixes #307
0.1.0
-
Replaced the Symfony plugin integration for
sw_extends/sw_includewith own navigation and autocompletion: navigating a template reference now offers all templates of that view path (the referenced bundle first, then all plugin overrides), and completion suggests templates of every bundle including plugins incustom/plugins -
Added navigation from a Twig block name to the upstream block it overrides (nearest parent first, following the
sw_extendschain) -
Templates are indexed by their view path and
sw_extendstarget, so template resolution, chain walking and completion no longer scan files -
Twig block versioning comments now also work for templates of third-party extensions, both installed via Composer and in
custom/plugins(block changed / removed / comment missing inspections). The versioning comment records the version of the extension the block belongs to (from the Composer package or the extension's composer.json). Showing a diff of the upstream changes is only supported for Shopware core templates. -
The "versioning comment missing" inspection only reports files that extend another template via
sw_extends -
The upstream of a block is now resolved through the
sw_extendschain of the template, so versioning also works when extending a template at a different relative path and sibling overrides of other plugins cannot be mistaken for the upstream -
When the chain cannot be resolved, blocks carrying a versioning comment are treated as overrides and no longer count as upstream, so they cannot mask upstream changes or removals
-
Added new inspection that warns when a Twig block with a versioning comment has been removed from the upstream Shopware template
-
Fixed "block does not have a versioning comment" inspection being reported on the Shopware core templates themselves
0.0.55
What's Changed
- Marked as compatible with next major version of Jetbrains IDEs
Full Changelog: 0.0.54...0.0.55
0.0.54
0.0.53
- Changed YAML Symfony Config to PHP File
0.0.52
- Fixed creating new Shopware projects
- Fixed missing Admin snippets in newer Shopware versions
0.0.51
- Fixed release for latest 2025.3 update for Twig versioning commment and snippet indexing