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 145866 - PHP Files with <? ... ?> tags inside and without php file extension have not php coloring etc
Summary: PHP Files with <? ... ?> tags inside and without php file extension have not ...
Status: VERIFIED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 09:36 UTC by Victoria Zhukovskaya
Modified: 2008-10-09 14:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
src (1.06 KB, application/octet-stream)
2008-09-02 09:37 UTC, Victoria Zhukovskaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria Zhukovskaya 2008-09-02 09:36:30 UTC
Product Version: NetBeans IDE Dev (Build 200809020201)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06

PHP Files with <? ... ?> tags inside and without php file extension have not php coloring etc

1. Create Project from sources (see attachment src)

there are
index.php file

newfile1 has php tags <? ... ?>
newfile2 <?php ... ?>

newfile1.ttt <? ?>
newfile2.ttt <?php ... ?>

files newfile1 and  newfile1.ttt have not coloring/highliting, project tree shows these files without php icon.

workaround -  
  rename files before creating project
Comment 1 Victoria Zhukovskaya 2008-09-02 09:37:14 UTC
Created attachment 68832 [details]
src
Comment 2 Petr Pisl 2008-09-19 10:25:39 UTC
Victoria, did you assign the php mimetype to the files with extension ttt?
Comment 3 rmatous 2008-09-24 12:08:50 UTC
Peter's comment points to probable cause, which is as designed
Comment 4 Victoria Zhukovskaya 2008-10-09 14:27:30 UTC
yes You are right