Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Package Explorer '>' Symbol Before File Names

Tags:

eclipse

This question is tough to search for as the '>' symbol seems to be ignored in Stack Overflow's search, so I apologize if it's been asked and answered before.

In Eclipse's package explorer view it will append a '>' symbol to the start of a file name if that file has been edited since it has last been synchronized with a repository. The problem with this is the '>' symbol is then taken into account when selecting files with the keyboard.

Say there's a file titled Main.java. If it hasn't been edited since synchronizing you can type 'Main' when the package explorer has focus and that file would get selected. However if the file has been edited you would have to type in '>Main' for it to get selected.

Does anybody know if this is a feature that can be disabled? I haven't found anything searching through Eclipse's menus, and I haven't been able to find anybody else mentioning this online.

like image 534
Greg Avatar asked Feb 09 '12 14:02

Greg


People also ask

How do I fix package explorer in eclipse?

You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something. If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.

Why does my Java package have a question mark?

It means the class is not yet added to the repository.

What does the indicate in the Eclipse package manager?

The ">" symbol before files in your Project Explorer view will flag the file as having differences from the source control host you are connected to. You can drill down through a package until you find the file that differs from the current source control version.


3 Answers

Preferences Team > SVN > Label Decorations. You can change the format (and thus the position) in Text Decorations (e.g. "File": "{outgoing_flag} {name} {revision}") and set non-textual icons for outgoing changes in Icons Decorations.

This is for Subversive team provider, Subclipse uses a different design. Maybe you will find the settings two times.

like image 104
Hauke Ingmar Schmidt Avatar answered Oct 22 '22 14:10

Hauke Ingmar Schmidt


The selection of a leaf of your tree is the default behavior of the underlying Tree Widget which is rendered by your operating system. Since a native Tree doesn't know something about Decorators (the '>' is drawn by a decorator from your team provider) the text of a leaf contains the '>' character. To open a resource use the much more comfortable shortcut Ctrl+Shift+R

like image 32
Tom Seidel Avatar answered Oct 22 '22 14:10

Tom Seidel


In eclipse goto preferences

Goto General -> Apperance -> Label Decorations -> Unckeck GIT

or SVN if you are using SVN. In my case i am using GIT.

like image 1
Soundararajan Avatar answered Oct 22 '22 14:10

Soundararajan