This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198526 - Another file extension
Summary: Another file extension
Status: CLOSED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 17:15 UTC by aoglib
Modified: 2011-09-16 18:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aoglib 2011-05-11 17:15:28 UTC
I have some old projects with smarty tpl names like filename.tpl.html. 
NetBeans and PHP Smarty Framework plugin can't recognizing them as smarty templates. So I have some problems. It would be nice to add for each project the ability to add/modify/delete file extension for templates (like "tpl.html").
Comment 1 aoglib 2011-06-02 06:36:15 UTC
When the plugin is ON I can't work, because of in the text often found of Cyrillic characters and even files encoded in 1251. I have nothing against the UTF8, however, the majority of projects supported me in 1251. Therefore, there is a huge, critical issue. I must disable this plugin to work with files. Please, fix this problem
Comment 2 aoglib 2011-06-02 06:41:03 UTC
(In reply to comment #1)
> When the plugin is ON I can't work, because of in the text often found of
> Cyrillic characters and even files encoded in 1251. I have nothing against the
> UTF8, however, the majority of projects supported me in 1251. Therefore, there
> is a huge, critical issue. I must disable this plugin to work with files.
> Please, fix this problem

Sorry, this comment for http://netbeans.org/bugzilla/show_bug.cgi?id=197609 bug
Comment 3 Martin Fousek 2011-06-02 06:45:34 UTC
Returning back to P3 priority and I will paste mentioned comment into #197609.
Comment 4 Martin Fousek 2011-09-16 09:11:05 UTC
Switching to enhancement and also closing as wontfix. Sorry, but your request is really non-standard to have various supported extensions according to selected project. It's very rare problem. 

You can create your own file extensions and associate them with Smarty support  in Tools->Options->Miscellaneous->Files. But this settings is across whole IDE not per project.