eclipse-platform / eclipse.platform

https://eclipse.dev/eclipse/
Eclipse Public License 2.0
73 stars 104 forks source link

Overview ruler not working anymore #1383

Open Sidzangaria opened 3 months ago

Sidzangaria commented 3 months ago

Using latest eclipse stable release made public I found that overview ruler does not work or is not visible by default and no option to bring it back or show it.

It appears that the overview ruler options can be set in the annotations preferences but the overview ruler never appears in the editor.

The key feature of the overview ruler is that the length of the ruler you see represents the complete file being edited, This provides a convenient way to jump to annotated parts of the file without excessive scrolling How these various annotations appear is defined by your Workbench > Editors > Annotations preferences

So it appears overview ruler on right never appears or does not work.

merks commented 3 months ago

Which editor? What type of file are you editing?

Sidzangaria commented 3 months ago

It is java file and also tried SQL file with dbeaver plugin.

merks commented 3 months ago

It works for me. And I too see no option to hide and show it. If you use Open With from the context menu it’s really the Java Editor that you open? Can you paste a small screen capture into the issue?

Sidzangaria commented 3 months ago
Screenshot 2024-05-18 183457 Screenshot 2024-05-18 183656 Screenshot 2024-05-18 183750

I activated almost every setting in annotations section to show on overview ruler but still blank.

Sidzangaria commented 3 months ago

I expected the feature to work like this as shown in VS Code with highlight of occurences in the overview scrollbar.

Screenshot 2024-05-18 185438
merks commented 3 months ago

Note the difference in the icon for test2.java versus that for mainTender.java in the Package Explorer view? The latter is in a source folder but the former is not, i.e., note the package 📦 decoration on the folder. Please open mainTender.java and show a screenshot of that.