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 123491 - PHP code recognition in files inside PHP project
Summary: PHP code recognition in files inside PHP project
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Ondrej Brejla
URL:
Keywords: PLAN
Depends on:
Blocks: 123432
  Show dependency tree
 
Reported: 2007-12-05 16:32 UTC by Andrew Korostelev
Modified: 2012-04-10 12:52 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2007-12-05 16:32:06 UTC
In 6.0 PHP code was recognized in files with limited number php-specific extensions (php, inc, phtml).

It should be recognized in all files inside PHP project that contain php tags. 

If this is not possible or is not reasonable time investment, than in most of web-content files where php can be expected.
Comment 1 Andrew Korostelev 2007-12-06 13:08:52 UTC
In the second case (list of file types that should be processed by php),
this list should be extensible by user
Comment 2 Pavel Buzek 2008-01-24 22:38:24 UTC
this will not be done for 6.1
Comment 3 Mikhail Matveev 2008-08-12 16:29:16 UTC
Reopening, because it's still actual. From my point of view, code recognition should work at least for .html files and 
files like that. Lowering priority, though.
Comment 4 orware 2009-03-05 19:01:25 UTC
I would also like to add my vote for this issue since I am currently trying to create a project that uses the Quercus
PHP Intepreter within a Java Project and there is absolutely zero PHP code hinting available within all of the PHP files
I've added into the project.

This creates a catch-22 type situation because I cannot create a separate PHP project since that will disallow me from
working with the Quercus PHP Interpreter and adding Java .jar files to the project (which allows me to access a library
we have that's been created in Java) and as I've already mentioned, creating the project as a Java one does not allow
for any type hinting in the PHP pages.

So I guess my actual request would be for support of hybrid "PHP/Java" solutions which would mean correct syntax
highlighting and code hinting for PHP files that need to be placed within a Java project.
Comment 5 Ondrej Brejla 2012-04-10 12:52:07 UTC
Won't fix for me.