Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Xtemplate BlockNew to Visual Studio Code? Get it now.
Xtemplate Block

Xtemplate Block

Vũ Quốc Đạt

|
20 installs
| (4) | Free
Parsing <!-- BEGIN: name --> & <!-- END: name --> into symbols, folding ranges and hover ability.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

xtemplate-block README

The xtemplate-block extension is designed to enhance your Visual Studio Code experience by providing powerful tools for working with XTemplate files. This extension streamlines your workflow and boosts productivity when dealing with XTemplate-based projects.

Features

What this extension can do

  • Provide Language Symbols: Provide language symbols based on parsed blocknames of BEGIN-END.
  • Shrink/Expand: Shrink/Expand your xtemplate markup block.
  • Hover for path: Hover on the BEGIN/END tag, a path from the root tag will be shown up.

Requirements

For Linked Editing feature to work, you have to enable this setting in VSCode:

"editor.linkedEditing": true

For the projects that use different file extensions as HTML, for example .tpl, please add this setting to VSCode:

"files.associations": {
    "*.tpl": "html",
}

Release Notes

1.1.0

  • NEW: Linked Editing feature - automatically sync block name changes between BEGIN and END tags
  • Supports nested blocks with accurate matching
  • Case-insensitive matching
  • Real-time visual feedback

1.0.1

  • Add copy button to quickly copy the path of each block.

1.0.0

  • Initial release of xtemplate-block.
  • Added language symbols, folding ranges, and hover-to-see-path ability.

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

For more information

  • Visual Studio Code's Extension API
  • XTemplate Documentation

Enjoy using xtemplate-block!

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