Skip to content

Sticky scrolling resets on comment lines #2338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tracked by #2152
dgibson66 opened this issue Sep 13, 2024 · 2 comments
Open
Tracked by #2152

Sticky scrolling resets on comment lines #2338

dgibson66 opened this issue Sep 13, 2024 · 2 comments
Assignees

Comments

@dgibson66
Copy link

When sticky scrolling encounters a line where the comment starts at column 1, it resets. Unfortunately, this is exactly how Toggle Comment creates comments. Please make sticky scrolling ignore comment lines.

@HannesWell HannesWell transferred this issue from eclipse-platform/eclipse.platform Sep 29, 2024
@HannesWell
Copy link
Member

HannesWell commented Sep 29, 2024

Sticky scrolling is a UI feature, therefore moved this to the eclipse.platform.ui repository.

@Christopher-Hermann can you please have a look at this?
But since Stick-Scrolling is not language sensitive and only considers indentation I fear that's how it is working.

@Christopher-Hermann
Copy link
Contributor

Yes, the issue is already know.
Good news: I'm already working on an extension point so that every language can provide specific Sticky-Scrolling calculation.
Bad news: I assume it will take some time until it is adapted for java

Also see #1950 and #2128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants