F
F
FernandoErrNando2017-10-23 00:19:37
PHP
FernandoErrNando, 2017-10-23 00:19:37

Netbeans 8.1 + PHP, why doesn't autocomplete/hints and ctrl+click on method name work?

Actually, the whole question is in the title. Now in more detail:
1. ctrl+click seems to work, but only on standard methods and functions of PHP itself:

Example
59ed0642d12f4027739083.gif

As an example, we used Laravel 5.5 + https://github.com/barryvdh/laravel-ide-helper, which in theory can work with Netbeans, but for some reason does not work. Is there something else that needs to be added?
2. Problem with autocomplete, does not suggest methods of class/class instance even in the same file.
I used to think that Netbeans, at least for php, simply does not have this functionality / it is implemented too crookedly, but now I am inclined to believe that this is some kind of local problem of mine. Are there such features in Netbeans, and if so, how to properly configure them?
Ubuntu 16.04
Product Version: NetBeans IDE 8.1 (Build 20151231-debian-8.1)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FernandoErrNando, 2017-11-05
@FernandoErrNando

So here's what worked in my case:
I used the version from the repository (i.e. installed via apt-get install netbeans) and installed php as a plugin. After I downloaded a special version of netbeans for php and the project was indexed, then both autocompletion and the transition began to work fine. Here are the links to them:
download.netbeans.org/netbeans/8.2/final/bundles/n...
download.netbeans.org/netbeans/8.2/final/bundles/n...
The question remains how to configure the universal version of netbeans

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question