Max Segal
Max Segal

Reputation: 2045

How to show all files extensions in Eclipse tabs

I'm using Eclipse Mars on Ubuntu and need it to show all my file extensions on the top of every open tab. Currently, on CDT it shows all file extensions for C files but hides the extensions for some other file types (specifically Cython files).

For example: on tab's file title instead of "calibration.pyx" I see just "calibration".

When I go to Window->preferrences I can't find a solution. Anyone with an idea?

Upvotes: 7

Views: 1303

Answers (1)

Rob Koll
Rob Koll

Reputation: 21

Today I noticed the same thing on a particular Eclipse installation, for Python files. Solution: go into the preferences (Window -> Prferences). Select "PyDev" in the tree on the left. Open "Pydev" and navigate into "Pydev ->Editor _. Editor Caption/Icon. Select "Editor Caption/Icon". On the right had side, check "Show file extension on tab?". That's it. Apply and close the preferences. Of course, this requires "PyDev" to be par of the Eclipse installation, but without something like "PyDev" the question is not applicable. Don't know if other languages have comparable "features".

Upvotes: 2

Related Questions