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 115351 - New PHP file creates with duplicated php extension
Summary: New PHP file creates with duplicated php extension
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 14:19 UTC by kozlov
Modified: 2008-08-11 16:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kozlov 2007-09-12 14:19:21 UTC
Reproduced in PHP Milestone1.

Steps to reproduce:
- add new PHP file to project;
- type name 'newphpfile.php'.

File file 'newphpfile.php.php' is created.
Comment 1 Andrew Korostelev 2007-10-08 17:36:38 UTC
designed in traditional NB style (java project works the same).
When you type name, result name is displayed in 'created file' text field.
It is shown which file will be created.

Do you think php needs different behavior because of it's specific?
Or standard NB style is not good?
Comment 2 kozlov 2007-10-18 15:02:35 UTC
NB style is excellent but in php project it is possible to use different kinds of extensions: .inc .template.
Comment 3 Andrew Korostelev 2007-11-20 17:21:24 UTC
in 6.0 php mime types recognition is based on extension.
it is planned to be updated after 6.0.
Comment 4 Tomas Mysik 2008-06-19 14:20:57 UTC
Maybe we should not append ".php" but not sure whether it is doable. I will investigate more later.
Comment 5 Tomas Mysik 2008-07-24 14:09:32 UTC
Already fixed.
Comment 6 Mikhail Matveev 2008-08-11 16:33:39 UTC
Verified