Konafets / antlers-idea

Adds support for Antlers, the templating language of Statamic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin confuses regular .HTML files

SanderFlooris opened this issue · comments

It seems like the plugin currently confuses PhpStorm if you have the plugin enabled and try to edit a regular .HTML file.
Code highlighting and executing the comment shortcut do not function correctly.

Plugin disabled
Scherm­afbeelding 2023-02-27 om 09 51 34

Plugin enabled
Scherm­afbeelding 2023-02-27 om 09 50 49

I don't know how this plugin exactly works, but maybe the file extension pattern is incorrect?
This has been tested using a scratch file on PhpStorm 2022.2.4 with plugin version 0.0.5.

I could not reproduce the missing highlighting but the wrong commenting. I fixed it in a way that the plugin ignores .html files.