Eclipse - how to control editor tab width or file name string length?

I scratch my head on this - when there are several files starting with the same sequence of characters, eclipse displays 4 tabs with almost the same sequence, because the line length for the file names on the editor tab is 15. How can I change this so that the full one is displayed file name?

For example, if I have several files with the names "PSScaleProtocol.java", PSScaleProtocolTest or PSScaleProtocolDaemon, all I can see on three tabs is "PSScaleProtoc".

I use "Kepler" for mac and the grepping keyword in / Applications / Eclipse Standard 4.3.1 / Eclipse Standard 4.3.1.app/Contents/Profile/plugins/org.eclipse.platform_4. 3.1.v20130911-1000 did not give any results.

any pointers appreciated.

PS: I just found this on stackoverflow, but it doesn’t help me - Eclipse 3.8 - Prevent deleting file name in editor tabs

+6
source share
2 answers

It looks like you can change the CSS, which makes the tab a narrower font or a smaller size.

Source: How to Resize Eclipse Editor Tab Title Font

0
source

How can I change this to display the full file name?

In the *eclipse install path*\plugins\org.eclipse.platform_*version*\css folder, open the .css file for the theme and edit the following property:

swt-simple: true to swt-simple: false located under MPartStack .

0
source

All Articles