Repository navigation
fix(templates): restore live template loading for 1.0.0-alpha.6.1 - #15
Conversation
Reviewer's GuideConfigurationCorrect the live-template resource path in the plugin descriptor and bump the plugin version for the alpha.6.1 release.
Pass the packaged plugin JAR to tests so they can validate the registered live-template resource.
DocumentationRecord the fix and update the release and template instructions for version alpha.6.1 and the eight shortcuts.
TestsVerify the plugin archive contains the resource registered by the descriptor and all eight expected template names.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
[Medium impact] The PR appears safe to merge. SummaryThis PR restores XOOPS live templates by pointing PhpStorm at the exact case-sensitive path in the plugin JAR.
Reviews (3) · Last reviewed commit: "test(templates): check all eight documen..." · Reviewed by Greptile |
There was a problem hiding this comment.
Hey - I've found 3 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="src/main/resources/META-INF/plugin.xml" line_range="139" />
<code_context>
<postStartupActivity implementation="org.xoops.support.XoopsProjectDetector"/>
- <defaultLiveTemplates file="/liveTemplates/XOOPS.xml"/>
+ <defaultLiveTemplates file="liveTemplates/Xoops.xml"/>
<completion.contributor language="PHP"
</code_context>
<issue_to_address>
**Live templates remain unavailable**
When phpStorm loads the default live-template extension, `defaultLiveTemplates` points to a resource path PhpStorm does not resolve, so none of the eight templates load.
Point `defaultLiveTemplates` at the existing `/liveTemplates/XOOPS.xml` resource.
</issue_to_address>
### Comment 2
<location path="gradle.properties" line_range="1" />
<code_context>
-pluginVersion=1.0.0-alpha.6
+pluginVersion=1.0.0-alpha.6.1
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.caching=true
</code_context>
<issue_to_address>
**Documented archive cannot be found**
When a user follows the README or tutorial build and installation instructions after the version bump, `buildPlugin` produces `xoops-support-1.0.0-alpha.6.1.zip`, while the README and tutorial name `xoops-support-1.0.0-alpha.6.zip`, so users cannot select the documented archive.
Update the README and tutorial archive paths to `xoops-support-1.0.0-alpha.6.1.zip`.
</issue_to_address>
### Comment 3
<location path="src/main/resources/META-INF/plugin.xml" line_range="139" />
<code_context>
<postStartupActivity implementation="org.xoops.support.XoopsProjectDetector"/>
- <defaultLiveTemplates file="/liveTemplates/XOOPS.xml"/>
+ <defaultLiveTemplates file="liveTemplates/Xoops.xml"/>
<completion.contributor language="PHP"
</code_context>
<issue_to_address>
**Template count remains outdated**
When a user reads the feature inventory after PhpStorm loads the corrected resource, `defaultLiveTemplates` now loads a resource containing eight templates, but README.md:69 still says there are five, so the feature inventory understates what users get.
Update the README’s live-template count to eight.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: src/main/resources/META-INF/plugin.xml:139, gradle.properties:1
| <postStartupActivity implementation="org.xoops.support.XoopsProjectDetector"/> | ||
|
|
||
| <defaultLiveTemplates file="/liveTemplates/XOOPS.xml"/> | ||
| <defaultLiveTemplates file="liveTemplates/Xoops.xml"/> |
There was a problem hiding this comment.
🟠 High · Live templates remain unavailable
When phpStorm loads the default live-template extension, defaultLiveTemplates points to a resource path PhpStorm does not resolve, so none of the eight templates load.
Point defaultLiveTemplates at the existing /liveTemplates/XOOPS.xml resource.
Prompt for AI agents
In `src/main/resources/META-INF/plugin.xml` at line 139:
**Live templates remain unavailable**
When phpStorm loads the default live-template extension, `defaultLiveTemplates` points to a resource path PhpStorm does not resolve, so none of the eight templates load.
Point `defaultLiveTemplates` at the existing `/liveTemplates/XOOPS.xml` resource.
|



PhpStorm 2026.3 reports a missing resource when loading the XOOPS live templates. The descriptor now points to the exact case-sensitive path in the plugin JAR,
liveTemplates/Xoops.xml.This patch sets the plugin version to
1.0.0-alpha.6.1and updates the changelog and Marketplace change notes.Gradle
checkandbuildPluginpassed. Inspection of the distribution ZIP confirmed the plugin version and all eight templates at the registered path.Summary by Sourcery
Restore live-template loading and release the fix as version 1.0.0-alpha.6.1.
Bug Fixes:
Enhancements:
Build:
Documentation:
Tests:
Summary by CodeRabbit