Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Template Toolkit Tag PairNew to Visual Studio Code? Get it now.
Template Toolkit Tag Pair

Template Toolkit Tag Pair

YaaMaa

|
2,256 installs
| (0) | Free
Highlight the matching tags in Perl Template Toolkit
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Template-Toolkit Tag Pair

Features

  • Change the background colors of the tags according to their nesting levels

rainbow

  • Highlight the currently selected block

selected-block

  • Show the content of the corresponding tag

corresponding-tag

  • Underline incomplete blocks (for example, IF directive without an END)

incomplete-block

Extension Settings

  • templateToolkitTagPair.general.languages: List of the languages for which this extension is activated
    • Default: ["tt", "html"]
  • templateToolkitTagPair.highlight.depthColors: Colors to highlight blocks
    • Example: ["#FFFF402F", "#7FFF7F2F", "#FF7FFF2F", "#4FECEC2F"]
  • templateToolkitTagPair.correspondingDirective.showOnHover: Whether to show the corresponding block-starting directive when you hover over the END tags
    • Default: true
  • templateToolkitTagPair.correspondingDirective.showNextToTag: Whether to show the corresponding block-starting directive next to the END tags
    • Options:
      • "whenPossible": When there is enough space to show the text
      • "whenDistant" (default): Only when the corresponding directive is vertically distant (at least 10 lines apart)
      • "never"

Changing configurations related to color requires an editor restart😢

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft