On January 26, 2025 8:53:30 AM GMT-05:00, "Enrico Tröger via Users" 
<users@lists.geany.org> wrote:
>Hi,
>
>On 22.01.25 03:28, H via Users wrote:
>> I am interested in finding a way to pull in the appropriate "use ..."
>namespace statement to a PHP file I am editing when adding a new class
>to the code.
>> 
>>>From what I understand, PHPstorm does that very nicely and I am
>curious if this can be replicated in a geany plugin and how much work
>it might be? Also,  if an existing geany plugin could be used as a
>starting point, perhaps geanyctags??
>> 
>> I did use the plugin ClassBuilder to create a customized Symfony
>ClassBuilder for my own use so I have some, albeit quite limited,
>experience in modifying an existing plugin.
>> 
>> Any thoughts?
>
>implementing this manually is probably quite some work and in the last 
>nearly 20 years nobody seemed willing to do this.
>
>BUT there is a great new plugin which can integrate existing language 
>servers using the language server protocol.
>Find the plugin at https://github.com/techee/geany-lsp/, it will be 
>included in the Geany-Plugins collection soon, too.
>
>Using the plugin, you can configure it to use a PHP language server
>(you 
>need to install it seperately) and if the language server supports 
>adding namespace statements, you can easily use this via the plugin.
>
>Regards,
>Enrico

This sounds interesting although at this time I am not sure how it works and I 
have to read up on it.

What's the original use case for this new plugin?
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org

Reply via email to