As of now the <alt>+<q> kombination gives you the next not visible scope level for the 
current caret position.

A while ago Idea showed the current scope context to the left. I guess this was 
removed by performance issues and people did not have any use for it all the time.

I had thought that perhaps the <alt>+<q> combination could work somewhat like the 
incremental selection (<ctrl>+<w>).
Starting with showing the closest scope working outwards for each time you hit 
<alt>+<q>.
The scope could be marked by scope line indicator at the left bar as usual and as soon 
as your scope head comes out of visible range the common extra label at the top could 
be used to show the scope head (not just class and method head as today but also for 
all the other statements that introduces a new scope such as "if", "for", "while", 
"try" etc).

/Christian

PS.
While the scope highlighter is a temporary function (the result is "discarded" as soon 
as you move the caret), the code of the scope could also be highlighted in another 
background color (such as very light blue for example). I believe that it would be 
easier to get an overview of the content of the current scope in that way rather than 
check the scope lines at the left bar and follow the line to indented code at level 8 
(extremely exaggerated I know) to see the start and end of the scope.
DS.

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to