How can I create a dynamic emacs panel to automatically expand cursor / file / class information?

I just found speed and this is a remarkably useful tool. I really like how it can drill files (python) to show me a list of classes, methods and functions.

Is there a way to get speed to automatically expand the class / function reference tree for the file in the current active buffer?

It would be a bonus if I could just go where the current cursor is; for example, if the cursor was located in the foo function of the class bar , then the speed will expand to myfile.py > class bar > foo .

+4
source share
1 answer

There is no turnkey solution for what you are asking for. Speedbar, of course, knows how to do this, but you will need to write a new command to do this.

I think you might be interested in an ECB that can perform a similar function. It splits the side window into several parts, and one of the windows cursor around the list of tags. I think this is what you want.

0
source

Source: https://habr.com/ru/post/1379603/


All Articles