generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(template): add overrideTemplate method && closed #54
This commit adds a new method `overrideTemplate` to the `TeamPromptsBuilder` class. This method allows retrieving an overridden template for a given filename. It first checks if there is an override template in the project's team prompts directory, and if found, returns the content of the override template. If no override template is found, it falls back to the default template. This method is useful for customizing templates on a per-project basis.
- Loading branch information
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 19 additions & 2 deletions
21
src/main/kotlin/cc/unitmesh/devti/template/TemplateRender.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters