# Composer中模板的排序顺序

**URL:** <https://meta.discourse.org/t/sort-order-of-templates-in-the-composer/391010>\
**Category:** Feature\
**Tags:** templates\
**Created:** [2025年十二月11日 08:10 UTC](https://meta.discourse.org/t/sort-order-of-templates-in-the-composer/391010 "2025-12-11T08:10:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sren-1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sren-1/32/575182_2.png) [@sren-1](https://meta.discourse.org/u/sren-1)\
**Post date:** [2025年十二月16日 07:41 UTC](https://meta.discourse.org/t/sort-order-of-templates-in-the-composer/391010/3 "2025-12-16T07:41:27Z")

</div>

> [@awesomerobot](#):
>
> 看起来排序顺序已更改，因此使用最多的模板会出现在顶部

想象一个使用不同模板类的异构团队。在这种情况下，“使用最多的”很快就会变得模糊不清——这正是我们使用场景中的情况。

如果允许排序选项，或者如果您坚持使用当前的启发式方法，提供一种将选择限制为特定模板类的方法，用户体验会更令人满意。

模板插件已经支持多个类别来存储模板。可以利用这一点来实现后一种方法。

谢谢 🙂

---

_[View the full topic](https://meta.discourse.org/t/sort-order-of-templates-in-the-composer/391010)._
