Re: List of functions in Python script being edited in Kate?

SecretCode <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
Thank you! Symbol Viewer does a great job - classes, method and global 
functions are all recognised and can be navigated to.

This is all I need, but it sounds like LSP could offer more - however, I 
get a (repeated) warning flashing up:
LSP Client: Server terminated unexpectedly: python3 -m pyls 
--check-parent-process

I presume I need to install the pyls module to provide this language 
server, but I can't work out where to get hold of it.


Joe

On 12/07/2021 19:14, Waqar Ahmed wrote:
> Hi,
>
> Yes, there are multiple ways to do that. In settings - plugins, enable 
> "Symbol Viewer".
>
> I am not sure if supports python, but if it does you will have symbols 
> listed in a tool view.
>
> However, The best way to do this is via "LSP plugin". Set up a python 
> language server, and it will provide you with intelligent auto 
> completion, go to definition and other IDE like features.
>
> A third way to do it is via our CTags plugin.
>
> On Mon, Jul 12, 2021, 9:54 PM SecretCode <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi, first post to the list!
>
>     One thing I'd really like to improve my use of Kate as a Python
>     code editor is the ability to list all the functions and/or
>     classes in the current script / module, for example in a tool view
>     panel. As most IDE editors provide!
>
>     I'm sure this capability must exist but I have not been able to
>     find it ... is there such a thing? Possibly as a plugin?
>
>     Thanks - Joe
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.