Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"All language designers are arrogant. Goes with the territory..." (By Larry Wall)


devel / comp.lang.php / Re: [vscode] PHP Intelephense extension not work (works partially) on docblock tag @see

SubjectAuthor
* [vscode] PHP Intelephense extension not work (works partially) onalex
`* Re: [vscode] PHP Intelephense extension not work (works partially) onalex
 `* Re: [vscode] PHP Intelephense extension not work (works partially) onJ.O. Aho
  `* Re: [vscode] PHP Intelephense extension not work (works partially) onalex
   `* Re: [vscode] PHP Intelephense extension not work (works partially) onJ.O. Aho
    `- Re: [vscode] PHP Intelephense extension not work (works partially) onalex

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

<ug8j7d$2f35t$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=902&group=comp.lang.php#902

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 1j9448a02@lnx159sneakemail.com.invalid (alex)
Newsgroups: comp.lang.php
Subject: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Thu, 12 Oct 2023 12:53:33 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <ug8j7d$2f35t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Oct 2023 10:53:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6dc661dfdef756a036053292f3f02fc4";
logging-data="2591933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E5F5IJIjdVC9HGin3Kv0l"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:k9qjnp2VLSxRoao+DUSlordh43Y=
Content-Language: it-IT
 by: alex - Thu, 12 Oct 2023 10:53 UTC

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?

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

<ugaoik$31bnc$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=904&group=comp.lang.php#904

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 1j9448a02@lnx159sneakemail.com.invalid (alex)
Newsgroups: comp.lang.php
Subject: Re: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Fri, 13 Oct 2023 08:37:08 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ugaoik$31bnc$2@dont-email.me>
References: <ug8j7d$2f35t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Oct 2023 06:37:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b56e906d03c0d640ffc54cb9ebe7b41";
logging-data="3190508"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189+Qeo/Bw9mbw6d0itRUrD"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1lP+jZrcq6MYYUEEOPIce5hmEjs=
In-Reply-To: <ug8j7d$2f35t$1@dont-email.me>
Content-Language: it-IT
 by: alex - Fri, 13 Oct 2023 06:37 UTC

Il 12/10/23 12:53, alex ha scritto:
> 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?

Nothing?

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

<kos81nFs24qU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=905&group=comp.lang.php#905

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: comp.lang.php
Subject: Re: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Fri, 13 Oct 2023 08:56:55 +0200
Lines: 29
Message-ID: <kos81nFs24qU1@mid.individual.net>
References: <ug8j7d$2f35t$1@dont-email.me> <ugaoik$31bnc$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net nYDDr3cH1xQc+sUPtVGhig6eXBTsAzUVGCGFO/+od4U+ipydN9
Cancel-Lock: sha1:dfVYTBsWgLjmI5q2LhtZva2cT/U= sha256:GrJtgwVk10j6JhPudY+yP8wkKjiMQqDF8x9CWddr4MI=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <ugaoik$31bnc$2@dont-email.me>
 by: J.O. Aho - Fri, 13 Oct 2023 06:56 UTC

On 13/10/2023 08.37, alex wrote:
> Il 12/10/23 12:53, alex ha scritto:
>> 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?
>
> Nothing?

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

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

<ugb8gc$34uo5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=906&group=comp.lang.php#906

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 1j9448a02@lnx159sneakemail.com.invalid (alex)
Newsgroups: comp.lang.php
Subject: Re: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Fri, 13 Oct 2023 13:09:00 +0200
Organization: A noiseless patient Spider
Lines: 4
Message-ID: <ugb8gc$34uo5$1@dont-email.me>
References: <ug8j7d$2f35t$1@dont-email.me> <ugaoik$31bnc$2@dont-email.me>
<kos81nFs24qU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Oct 2023 11:09:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b56e906d03c0d640ffc54cb9ebe7b41";
logging-data="3308293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kB2Kw1qCrQQclHMGuejiM"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Gp3LUmCOLrJBDOKgh9bfGbQMcUo=
In-Reply-To: <kos81nFs24qU1@mid.individual.net>
Content-Language: it-IT
 by: alex - Fri, 13 Oct 2023 11:09 UTC

Il 13/10/23 08:56, J.O. Aho ha scritto:
> Did you disable the built in PHP language feature

????

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

<kosod6Fs24nU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=907&group=comp.lang.php#907

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: comp.lang.php
Subject: Re: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Fri, 13 Oct 2023 13:36:06 +0200
Lines: 15
Message-ID: <kosod6Fs24nU1@mid.individual.net>
References: <ug8j7d$2f35t$1@dont-email.me> <ugaoik$31bnc$2@dont-email.me>
<kos81nFs24qU1@mid.individual.net> <ugb8gc$34uo5$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Yy1HmiTp99wWH0lD6OT11Qnlf45HIfKET8GnvuS33ZaRzxCFZF
Cancel-Lock: sha1:xoD8VSX8RRhk2zRpPP2tfgAEVBk= sha256:X3eLLogc31hLNXi8oy+9tav4SoQHkQ7WlSlKiD7BEMk=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <ugb8gc$34uo5$1@dont-email.me>
 by: J.O. Aho - Fri, 13 Oct 2023 11:36 UTC

On 13/10/2023 13.09, alex wrote:
> Il 13/10/23 08:56, J.O. Aho ha scritto:
>> Did you disable the built in PHP language feature
>
> ????
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

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

<ugdffn$3o91q$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=908&group=comp.lang.php#908

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 1j9448a02@lnx159sneakemail.com.invalid (alex)
Newsgroups: comp.lang.php
Subject: Re: [vscode] PHP Intelephense extension not work (works partially) on
docblock tag @see
Date: Sat, 14 Oct 2023 09:20:23 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ugdffn$3o91q$4@dont-email.me>
References: <ug8j7d$2f35t$1@dont-email.me> <ugaoik$31bnc$2@dont-email.me>
<kos81nFs24qU1@mid.individual.net> <ugb8gc$34uo5$1@dont-email.me>
<kosod6Fs24nU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 14 Oct 2023 07:20:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2ec14f8122b97c3e3eebe3d5493e9b57";
logging-data="3941434"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1827m1NNJ09D7sYB/SDJoCO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:AweGm8AdZpHwHVD4flYOeLoXVhI=
In-Reply-To: <kosod6Fs24nU1@mid.individual.net>
Content-Language: it-IT
 by: alex - Sat, 14 Oct 2023 07:20 UTC

Il 13/10/23 13:36, J.O. Aho ha scritto:
> On 13/10/2023 13.09, alex wrote:
>> Il 13/10/23 08:56, J.O. Aho ha scritto:
>>> Did you disable the built in PHP language feature
>>
>> ????
> 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.
>

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor