I am using emacs (GNU Emacs 25.3.2) on Ubuntu. I was wondering if its possible to display short breadcrumbs or selected compound statement in a headerline (even another window is fine). Probably I am not able to describe it properly using words, let me try example, assuming I have some code like following:
Line:1 while (condition 1) {
Line:10 .......
Line:60 some code...
Line:61 if (condition 2) {
Line:62 cursor is here now
When I am on line 62 header line should display
while(condition 1)->if(condition 2)
Or I can select to display this summary from say line 61 onward only. Basically summary of compound statements at a glance.
I am have tried using [1] but somehow it just displays tag (function) name in the headerline.
[1] https://www.emacswiki.org/emacs/SemanticIdleBreadcrumbsMode