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.
Hey! I have a PHP project created in 8.0.2 or even some older version. I upgraded to 8.1 and CTRL+Click navigation stopped working on at least class names, method names and static class method names. Even when you define the class within the same file: class AController { function x(){ } static function y(){ } } $a = new AController(); $a::y(); $a->x(); Cannot CTRL+Click navigate to AController, y or x. It does work for the native PHP classes. A "feature" causing this might be the Netbeans project auto-creation. My PHP project has the folder structure php-project/ Folder1 Folder2 src/classes/AController.php src/bower.json src/package.json Now Netbeans tries to be smart and converts the contents of src into its own HTML5 project. So when I open a file below src it thinks it is in another project. Very annoying. I tried to delete the nbproject folder but it just keeps coming back and I could not find a way to turn it off. Worse, in the new project I cannot change any PHP related settings. Particularly short open tags (<? instead of <?php). Although I do have to say most of my files have <?php including the class files I tested with. So it would be nice to have the PHP settings in an HTML5 project as well. Thanks for providing and maintaining the IDE. :) Lisa
I already closed netbeans, deleted the cache folder and restarted nb: /home/username/.cache/netbeans/8.1
(In reply to nordlichtxs from comment #0) > A "feature" causing this might be the Netbeans project auto-creation. Yes, this is the culprit. Fortunately, this is fixed in the dev version of NetBeans [1], I just verified it. Feel free to let us know if it still does not work for you. Thanks. [1] http://bits.netbeans.org/download/trunk/nightly/latest/ Product Version: NetBeans IDE Dev (Build 20160602-eb3cfce69024) Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 System: Linux version 4.2.0-36-generic running on amd64; UTF-8; cs_CZ (nb)