mesour-intellij-plugins / latte-pro-issues

2 stars 0 forks source link

Unknown tags are not reported in Project files as error in file #51

Open martinbohmcz opened 2 years ago

martinbohmcz commented 2 years ago

Describe the bug Unknown tag and unknown closing tag are not reported in Code / Code inspection

Environment (please complete the following information):

To Reproduce

  1. Enter code below
  2. Run code inspection

Code

{blocka content}
…
{/block}

Additional context The unknown tag "blocka" in underlined in the file as well as the unknown closing tag {/block} (because it matches anything). But when I run Code inspection those two are not mentioned in the report.

mesour commented 2 years ago

@martinbohmcz it is not reported, because this is error from annotator not from inspection. Also syntaxt errors are not reported in Code inspection.

Here is possibility, how to show error in Project files. I haven't figured out how to do it yet, I will rename this issue.

martinbohmcz commented 2 years ago

OK. I think this is a minor issue, as I should not be leaving file with errors reported. But "Unknown filters" are reported in Inspection. Obviously it is not the same.