bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.56k stars 92 forks source link

Add many PHPDoc in single action #2874

Open marcelboere opened 2 months ago

marcelboere commented 2 months ago

Feature description or problem with existing feature 1) I had to add PHPDoc managed by Intelephense to classes and functions of all my code and I was wondering if it is possible to do this on a folder basis: so just add, replace or update PHPDoc comments for all functions and classes I did not test yet, but what if I changed a name of a function parameter, will the PHPDoc be automatically changed? 2) It is uncertain when the Intelephense PHPDoc autocompletion macro will pop-ip: sometimes I have to type / and then the ** very quickly, at other times it only works when typing slowly, or just wait for some seconds. I do remote development in Windows/wsl/Remote Linux Server 1Gigabit connection and have a eight core 4 mHz PC with 32 MB of RAM with a rather fast video card.

Describe the solution you'd like 1) Make all Intelephense substitution macro's work on a folder basis. This will be not useful for all functions, but certainly Format document of add/update/PhpDoc

Additional context Add any other context or screenshots about the feature request here.

bmewburn commented 3 weeks ago

I don't understand what is being asked here. Can you rephrase and/or give an example?

marcelboere commented 3 weeks ago

Dear Ben,

Thank you for your reaction. What I am searching for for example, is the option to apply document formatting on all files in a folder at once instead of calling the format function for each file. Same for the option to add PhpDoc information for functions: it would be nice if - when you're starting with a project that does not have PhPdoc - you can automatically add it (if not changed by the author) to all functions in a folder/project.

But this all might be possible without me knowing so that's why I'm asking this question. But most of all I would like to thank you for this great plugin!

regards, Marcel Boeré

On Fri, 7 Jun 2024 at 02:18, Ben Mewburn @.***> wrote:

I don't understand what is being asked here. Can you rephrase and/or give an example?

— Reply to this email directly, view it on GitHub https://github.com/bmewburn/vscode-intelephense/issues/2874#issuecomment-2153616411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBCDDP3NMRLVUVDHVVWNWLZGD37BAVCNFSM6AAAAABHEXXPEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTMNBRGE . You are receiving this because you authored the thread.Message ID: @.***>