Compile Smarty template comments into PHP comments.

Open
#502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
backend, web-dev

Research direction

The issue names no source file, test, or compiler entry point; begin by locating Smarty's template compilation path and reviewing the linked forum discussion. Done means Smarty comments are represented as PHP comments in compiled output, with tests covering the requested behavior.

Written by the indexing model from the issue text.

Description

enhancement

I just stumbled upon https://www.smarty.net/forums/viewtopic.php?t=27458 and… well, I can see the merit in having comments inside code.
If anything, this could make it easier to debug compilation issues at least.

Dominant language
PHP
Stars
2.3k
Forks
709
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smarty-php/smarty

All issues in smarty-php/smarty

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.