Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 438
Max Segal Avatar asked Nov 09 '15 13:11

Max Segal


1 Answers

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".

like image 182
Rob Koll Avatar answered Oct 13 '22 09:10

Rob Koll