eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

Sticky Option for breadcrumb / additional to breadcrumb

Open f4abap opened this issue 1 year ago • 4 comments

Originally provided it as a feature-request within the SAP-Ecospace.
As I suggested there, this is a feature, which will provide a better usability no matter what language is used. So moved it here and hope to get that feature.

Please describe your improvement request

Provide different option for the breadcrumb / add a feature

What is the opportunity/problem the request will address?

In long statements it's difficult to see, which are dependencies, and therefore it's difficult to add the logic to the correct place. Especial when the source-code gets long

What is the expected benefit?

Will give developers a better option to navigate and see what their focus is

Found it as an option within VSCode and think this option would also be a great benefit for ABAP. Maybe it's a feature for the eclipse foundation.

Have a look here

https://devblogs.microsoft.com/visualstudio/sticky-scroll-now-in-preview/

f4abap avatar Feb 26 '24 10:02 f4abap

I could not understand what exactly is the feature you request. Could you be more precise please ?

iloveeclipse avatar Feb 26 '24 10:02 iloveeclipse

As you scroll through your code, namespaces, classes, and methods will stick to the top of the editor

Here is a little example

IF 1 = 2 ..imagine multiply lines of coding else ..imagine multiply lines of coding here too endif.

So now you scroll down to the else and then your editor will look like IF 1 = 2 ..else somewhere in this coding section is your cursor

Please also take your time to read through the linked blog, because there is this feature really great described.. it's just the wrong ide :-D

f4abap avatar Feb 27 '24 18:02 f4abap

This is how this feature looks in Eclipse Theia: Sticky Scroll in Eclipse Theia

Madjosz avatar Apr 23 '24 10:04 Madjosz

After conducting some initial prototyping, I believe I've identified a potential solution.

In the top right corner, you can observe the 'sticky lines' displayed in an added textual area: StickyScrolling

When the additional text is aligned so that it is displayed above the lines of the editor, I think it can be build so that it works like in the other IDEs. Of course, line numbers, navigation, etc. is missing.

Should time permit in the upcoming weeks, I plan to look further into this feature.

Christopher-Hermann avatar May 17 '24 11:05 Christopher-Hermann

First version implemented with #1894. Will be improved over time. Issue can be close in my opinion.

Christopher-Hermann avatar Jun 10 '24 20:06 Christopher-Hermann