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.
Summary: | NetBeans PHP Edition start from 6.9.1 to 7.0 B2, not all .tpl load as php | ||
---|---|---|---|
Product: | php | Reporter: | shiroamada |
Component: | Code | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mmirilovic, pjiricka |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
before reopening, with breakpoints
after reopening print screen for NB6.9.1 & 7.0 B2, no php syntax color loaded Solution for this issue |
Description
shiroamada
2011-02-23 03:55:12 UTC
Could you please attach a screenshot of such situation? I have a few questions: When you close and open such file, it helps? Do the files have the right icons? Is possible to put a breakpoint to a php code and if yes, it's the breakpoint correctly colored? Thanks. Created attachment 106341 [details]
before reopening, with breakpoints
Created attachment 106342 [details]
after reopening
Comment on attachment 106341 [details]
before reopening, with breakpoints
Bad issue, please ignore this file
Comment on attachment 106342 [details]
after reopening
Bad issue, please ignore this file
Created attachment 106387 [details]
print screen for NB6.9.1 & 7.0 B2, no php syntax color loaded
The file icon is a blank text file, I upload a print screen for NB 6.9.1 and 7.0 B2. I am not to create a breakpoint in the black text format (no php syntax color loaded).
So there are the same files recognized in wrong way in NB 6.9.1 and NB 7.0 B2? There are always the same? Or occasionally? If there are always the same, could you please provide me such file? Created attachment 106529 [details]
Solution for this issue
My Solution.
I think it is because NetBeans cannot recognize .tpl (but I not sure why can recognize some of it). For those blank icon file, I right click on it, then I selected "Open As..." Then I select0 "PHP Files" then the problem solved.
Maybe Netbeans developer can set .tpl default is run is PHP Files.
Did you register the .tpl extension for php mimetype? You can do it in Tools->Options->Miscellaneous->Files tab where is File Associations. I though that you did this, because you mentioned that some .tpl files are opened as php ans some not. I'm closing this bug for now. Please reopen the bug if you registered the .tpl extension for php mimetype and still the .tpl file are not recognized as php files. Thanks. I am not sure I had register the extension or not. But what you can see from my print screen (2 of my print screen show that the .tpl some got PHP icon, but some are not). How come some of the .tpl is register as PHP but some are not. This is what make me report this as bug. I am not sure I had register the extension or not. But what you can see from my print screen (2 of my print screen show that the .tpl some got PHP icon, but some are not). How come some of the .tpl is register as PHP but some are not. This is what make me report this as bug. |