Skip to content

feat: consolidate template comment snippet#50

Merged
EndlessTrax merged 1 commit into
mainfrom
feat/issue-47-template-comment-snippet
Jul 21, 2026
Merged

feat: consolidate template comment snippet#50
EndlessTrax merged 1 commit into
mainfrom
feat/issue-47-template-comment-snippet

Conversation

@EndlessTrax

@EndlessTrax EndlessTrax commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a shared ptcom template comment snippet to the general catalog
  • remove the Jinja-only ptj-com snippet
  • update README snippet tables to reflect the new shared prefix

Closes #47

Move template comment snippet to shared catalog as ptcom, remove jinja-specific ptj-com, and update README reference tables.\n\nCloses #47\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@EndlessTrax EndlessTrax self-assigned this Jul 21, 2026
@EndlessTrax EndlessTrax added the enhancement New feature or request label Jul 21, 2026
@EndlessTrax
EndlessTrax requested a review from Copilot July 21, 2026 22:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the VS Code snippet catalogs to make the {# ... #} template comment snippet available as a shared/general snippet (usable in both Jinja2 and Django), aligning the extension’s catalogs with common template syntax.

Changes:

  • Added a new shared snippet ptcom (“Template Comment”) to snippets/snippets.json.
  • Removed the Jinja-only ptj-com snippet from snippets/jinja-snippets.json.
  • Updated README.md snippet reference tables to document ptcom and remove ptj-com.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
snippets/snippets.json Adds the new shared ptcom snippet for {# ... #} comments.
snippets/jinja-snippets.json Removes the now-redundant ptj-com Jinja-specific comment snippet.
README.md Updates snippet reference tables to reflect the new shared prefix and removal of the old one.

@EndlessTrax
EndlessTrax merged commit 041e90e into main Jul 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Consolidate Standard Inline Comments into General Snippets

2 participants