You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "jameswadsworth (via GitHub)" <gi...@apache.org> on 2024/09/24 12:18:04 UTC
[I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
jameswadsworth opened a new issue, #7786:
URL: https://github.com/apache/netbeans/issues/7786
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2734288547
@jameswadsworth I guess that you did not remove the usedir/cachedir/index when switching versions/editions. Please see if removing `/home/james/.cache/netbeans/25/index/` or the whole `/home/james/.cache/netbeans` folder.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2735319915
@jameswadsworth I cannot reproduce it. As @matthiasblaesing wrote, please try to remove it.

```
Product Version: Apache NetBeans IDE 25
Java: 19.0.2; OpenJDK 64-Bit Server VM 19.0.2+7-Ubuntu-0ubuntu322.04
Runtime: OpenJDK Runtime Environment 19.0.2+7-Ubuntu-0ubuntu322.04
System: Linux version 6.8.0-52-generic running on amd64; UTF-8;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "jameswadsworth (via GitHub)" <gi...@apache.org>.
jameswadsworth commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2733913758
I have tried a clean install using both the binary packages and the rpm package but this issue is still present in version 25 when installing on Fedora linux.
> Product Version: Apache NetBeans IDE 25
> Java: 21.0.6; OpenJDK 64-Bit Server VM 21.0.6+7
> Runtime: OpenJDK Runtime Environment 21.0.6+7
> System: Linux version 6.13.6-100.fc40.x86_64 running on amd64; UTF-8; en_GB (nb)
> User directory: /home/james/.netbeans/25
> Cache directory: /home/james/.cache/netbeans/25
I have tried installing netbeans 25 using the snap package and I can confirm this issue is NOT present when installed this way.
> Product Version: Apache NetBeans IDE 25
> Java: 21.0.6; OpenJDK 64-Bit Server VM 21.0.6+7
> Runtime: OpenJDK Runtime Environment 21.0.6+7
> System: Linux version 6.13.6-100.fc40.x86_64 running on amd64; UTF-8; en_GB (nb)
> User directory: /home/james/snap/netbeans/127
> Cache directory: /home/james/snap/netbeans/common/127
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "jameswadsworth (via GitHub)" <gi...@apache.org>.
jameswadsworth commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2377043116
It the same for all php projects. Would you like me send you a php project?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "jameswadsworth (via GitHub)" <gi...@apache.org>.
jameswadsworth commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2738174408
Deleting the cache folder resolved the problem. Delete the netbeans cache folder. Then I installed version 25 from rpm file, imported the settings from 22 along with the plugins


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2376498299
Please provide an example code to reproduce it. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "jameswadsworth (via GitHub)" <gi...@apache.org>.
jameswadsworth closed issue #7786: [php] Not proposing methods, classes and namespaces in code completion from the project
URL: https://github.com/apache/netbeans/issues/7786
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2378239779
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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [php] Not proposing methods, classes and namespaces in code completion from the project [netbeans]
Posted by "jameswadsworth (via GitHub)" <gi...@apache.org>.
jameswadsworth commented on issue #7786:
URL: https://github.com/apache/netbeans/issues/7786#issuecomment-2670898607
I've updated to version 24 from version 22 and for php projects, Netbean only proposes the standard php classes, not the classes as defined in any php project.
Reverting back to version 22 until this is fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists