Open jameswadsworth opened 2 months ago
Please provide an example code to reproduce it. Thanks.
It the same for all php projects. Would you like me send you a php project?
We may not often reproduce it without an example. So, please always attach an example code(as a comment) or a minimal project(as a zip file) to reproduce it. Thanks.
Did you try to delete your cache directory?(see: Help > About)
Here is a link to a project I'm working on: https://downloads.joomla.org/cms/joomla4/4-4-8/Joomla_4-4-8-Stable-Full_Package.zip?format=zip
I've tried clearing the cache and upgrading to Netbeans 23 again but I still have the same issue. When I downgrade to Netbeans 22 it works correctly again and proposes all the class available in the project.
Thanks. Can you write your exact steps to reproduce it?
1) open the project 2) edit any php file for example administrator/components/com_users/src/Controller/UsersController.php 3) edit line 21 by adding a new 'use' statement to import a Joomla Class for example ComponentHelper
Expected Behaviour Netbeans proposes the path to the ComponentHelper class e.g. Joomla\CMS\Component\ComponentHelper
Actual Behaviour The only classes proposed are php in-built ones.
Should I try disabling my plugins? Is it useful to send you a copy of my options configuration?
Apache NetBeans version
Apache NetBeans 23
What happened
Expected Behaviour When typing class names and their namespaces netbeans should propose method names, class names from open project and code templates when typing as in Netbeans 22 and previous versions
Actual Behaviour In version 23 only method names and class names from standard php platform and code templates are proposed.
I have tried with different versions of Java 11 java-11-openjdk-11.0.24.0.8-2.fc39.x86_64, 17 java-22-openjdk-22.0.2.0.9-1.rolling.fc39.x86_64 and 22 java-22-openjdk-22.0.2.0.9-1.rolling.fc39.x86_64
Language / Project Type / NetBeans Component
PHP Project
How to reproduce
Install Netbeans 23, import settings and plugins and start using project.
Did this work correctly in an earlier version?
Apache NetBeans 22
Operating System
Fedora 39 Workstation Edition
JDK
java-22-openjdk-22.0.2.0.9-1.rolling.fc39.x86_64
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No