vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Annotation support

Open Sajito opened this issue 5 years ago • 7 comments

When working with Symfony or Doctrine, annotations are commonly used. The language server seems to be perfectly able to recognize if a use statement is used inside a DocBlock. It would be nice to also have completion here.

Here is an image, showing an use Statement for Route, but no reference anywhere: grafik

And here is a reference inside the DocBlock: grafik

It would be awesome, if we could get autocompletion with automatic import in DocBlocks, just as in every other part of the code.

Sajito avatar Mar 09 '19 23:03 Sajito

I use symfony at work too and goto declaration via annotation would be awesome (alt+click) as well.

tvercruysse avatar Mar 10 '19 16:03 tvercruysse

I am looking forward to this feature.

Yurunsoft avatar Sep 30 '19 06:09 Yurunsoft

hello @bmewburn, is the repo open for PRs ? I could try to look at it as I am also very interested in this feature !

viconnex avatar May 19 '20 07:05 viconnex

I am also looking forward to this feature. Code completion and signature help for annotations would be great help for our project.

mjan4175 avatar Aug 10 '20 13:08 mjan4175

Any update?

jln13x avatar Feb 24 '22 07:02 jln13x

Any update?

jln13x avatar Feb 24 '22 07:02 jln13x

Since there's a shift towards attributes (language native annotations, if you will) away from annotations and attributes being already supported by Intelephense, I don't see the need for this enhancement (anymore 😉).

netbrothers-tr avatar Jun 16 '22 08:06 netbrothers-tr