Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[vscode] PHP Intelephense extension not work (works partially) on docblock tag @see

212 views
Skip to first unread message

alex

unread,
Oct 12, 2023, 6:53:42 AM10/12/23
to
As IDE I use VSCode, with PHP Intelephense extension installed.

I created a php file that contains https://pasteboard.co/Ldhhq4LDIlIo.png

If I right click on *My* (line 3), the cursor is positioned on the name
of the class (line 7).

OK!!!

But, if I right click on *abc* (line 4), a popup appears with the error

***No definition has been found...***

Why?

alex

unread,
Oct 13, 2023, 2:37:18 AM10/13/23
to
Il 12/10/23 12:53, alex ha scritto:
Nothing?

J.O. Aho

unread,
Oct 13, 2023, 2:57:04 AM10/13/23
to
Not everyone uses vscode or the same extension as you. Did you disable
the built in PHP language feature, otherwise create a ticket at
https://github.com/bmewburn/vscode-intelephense/issues

--
//Aho




alex

unread,
Oct 13, 2023, 7:09:09 AM10/13/23
to
Il 13/10/23 08:56, J.O. Aho ha scritto:
> Did you disable the built in PHP language feature

????

J.O. Aho

unread,
Oct 13, 2023, 7:36:14 AM10/13/23
to
VSCode has built in support for PHP, you need to disable it to make
your extension to work as intended, there is instructions for that in
the description of the extension.
Also check the settings (click on the cog wheel on the extension page),
not sure if you need any changes there or tell where the php binary is.

I'm more of a VIM person, so I'm not the one with all the answers.

--
//Aho

alex

unread,
Oct 14, 2023, 3:20:33 AM10/14/23
to
Il 13/10/23 13:36, J.O. Aho ha scritto:
https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
Quick Start

Disable the built-in VSCode PHP Language Features.
Go to Extensions.
Search for @builtin php
Disable PHP Language Features. Leave PHP Language Basics
enabled for syntax highlighting.

Note that other (3rd party) PHP extensions which provide similar
functionality should also be disabled for best results.

https://pasteboard.co/xkWlPu0UOzfn.png

0 new messages