phoenixframework / vscode-phoenix

Syntax highlighting support for Phoenix templates in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=phoenixframework.phoenix
MIT License
157 stars 10 forks source link

Opt into html language features #23

Open Whoops opened 5 months ago

Whoops commented 5 months ago

This opts into VSCode's built-in HTML language features, allowing for autocomplete and documentation based on HTML tags, attributes, etc.

Addresses #20 and #18.

The extension.js implementation is cribbed directly from Jinja's implementation to address https://github.com/microsoft/vscode/issues/160585 as mentioned in the comment.

SteffenDE commented 1 month ago

@Whoops @RedCMD this only works for .heex files, right? I just tried this in a ~H""" block, but there the features don't seem to be available.