Well, xxx.tpl files are no PHP Files, so, what should be a good reason, to 'handle' them a such ?
But I am not familiar with Netbeans, so I may be off track...
Ernie
But I am not familiar with Netbeans, so I may be off track...
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
You can choose PhpStorm to avoid this problem
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
phpstorm will probably have the same issue, since it also supports Smarty: https://www.jetbrains.com/help/phpstorm ... marty.html
i could of course de-associate .tpl extension from Smarty, in both Netbeans and phpstorm, but I also work with Smarty, so need it.
tpl's are template files that contain a mix of html/js/css and php
Not specifically for Smarty but most likely more widely used in Smarty or Smarty is / was the most popular engine to use tpl's
OC 3.0 will use .twig instead of .tpl but will most likely be associated with Symphony
Not specifically for Smarty but most likely more widely used in Smarty or Smarty is / was the most popular engine to use tpl's
OC 3.0 will use .twig instead of .tpl but will most likely be associated with Symphony
You may have already solved this but I was looking for opencart netbeans autocomplete and this was one of the very first results.
tpl files in netbeans are not smarty as we all know, you can turn off smarty association in the project properties so they are correctly checked by the ide.
There is no way to resolve the html issues in netbeans (not upto 8.2 anyway) for tpl files because they are all small sections of the larger picture you will either have to exclude html checking, class checking and the like on the files or request that netbeans update the smarty plugin to reflect the fact that it isnt smarty but "template" files which can be fragmented.
Another option is for somebody to build a plugin that will work properly with pre opencart v3 but as i suspect once people will gradually be upgrading I dont see it being a priority.
tpl files in netbeans are not smarty as we all know, you can turn off smarty association in the project properties so they are correctly checked by the ide.
There is no way to resolve the html issues in netbeans (not upto 8.2 anyway) for tpl files because they are all small sections of the larger picture you will either have to exclude html checking, class checking and the like on the files or request that netbeans update the smarty plugin to reflect the fact that it isnt smarty but "template" files which can be fragmented.
Another option is for somebody to build a plugin that will work properly with pre opencart v3 but as i suspect once people will gradually be upgrading I dont see it being a priority.
Who is online
Users browsing this forum: No registered users and 169 guests