Skip to content

"HTML mirror cursor" and "F2 to rename tag" won't work with anything but HTML files #87064

Closed

Description

Hello! :)

I'm working mainly with .tpl Smarty files, and I have the Smarty extension installed for syntax highlighting and language support.

I was really eager to try the new features "HTML mirror cursor" and "F2 to rename tag" but none of these will work unless I go and change the Language Mode from Smarty to HTML.

I have tried to add these settings, but to no avail:

	"[smarty]": {
		"html.mirrorCursorOnMatchingTag": true,
		"editor.defaultFormatter": "vscode.html-language-features",
	}

Given that .tpl files are essentially HTML files that support Smarty {tags}, would it be possible to add support for these features? It would be a great game changer.

Thank you very much!

Edit: just realised the same applies to PHP too :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designedhtmlHTML support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions