S
S
Serge Tkach2017-07-14 12:53:11
NetBeans
Serge Tkach, 2017-07-14 12:53:11

What MIME to assign to the tpl extension in NetBeans so that it stops swearing at tpl files?

Can you please tell me what type of file to assign to the tpl extension in NetBeans so that it stops swearing at tpl files?
The matter is that I work with OpenCart. I decided to switch from another editor to NetBeans. And I really liked him. Everything would be fine, but only errors are highlighted in tpl-files where there are none.
d936be2342cf40fa813715d196647ba0.png
I tried to associate the tpl extension with other file types:
text/x-tpl (default)
text/x-php5
text/html
In the text/x-php5 variant, there are no errors directly in the code. But the file is still marked with an error.
d063f44e68264672aa7a4d5674576761.png
I noticed that the file stops glowing with an error if you edit and save it (even if it is 1 space).
But resaving all files is a bit off topic.
What else can be done to stop tpl files from being highlighted with an error in netbeans?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question