-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"HTML mirror cursor" and "F2 to rename tag" won't work with anything but HTML files #87064
Comments
@octref - is it possible for other languages that embed HTML to benefit somehow from this new feature that I think you added? |
I feel like this should be extended to support all XML like syntaxes. |
@gjsjohnmurray Nope. Each language extension needs to implement this feature themselves. XML already has it. See redhat-developer/vscode-xml#130 |
@solid-pixel Currently they only way is to use In the future we might make this feature available to other languages. |
@octref thanks for coming back. Perhaps I'll try and ask the Smarty extension devs if they can implement this the way XML did. |
that's also what happens to me too, but what I experienced is on Laravel |
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:
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 :(
The text was updated successfully, but these errors were encountered: