Skip to content

Feature: Consolidate Standard Inline Comments into General Snippets #47

Description

@EndlessTrax

Problem

Currently, the inline comment tag {# ... #} is only defined as ptj-com in jinja-snippets.json. However, this is valid for both Django and Jinja templates.

Solution

Create a new generic comment snippet in snippets/snippets.json with prefix ptcom to make it universally available:

	"Template Comment": {
		"scope": "html",
		"prefix": "ptcom",
		"body": [
			"{# $0 #}"
		],
		"description": "Adds template comment tag"
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions