Skip to content

Consider matching only by path segment #1

@atomicptr

Description

@atomicptr

Assuming we have the following templates:

  • [name].php
  • [name].blade.php

If you create a file

$ tmplr Test.php

It will not trigger the second one (which is correct)

however if you do:

$ tmplr template.blade.php

It will ask you if you want the first template or the second

The interesting question now is if it wouldn't be much better to treat .blade.php as something completely different from .php and not even show you this option

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions