daazakali
daazakali

Reputation: 315

eclipse - how to control either the width of the editor tab or length of the filename string?

I am scratching my head on this - when there are multiple files starting with the same character sequences open, eclipse displays 4 tabs with pretty much the same sequence because the string-length for filenames on the editor tab is 15. How can I change this so the full filename is displayed?

For example - So, when I have multiple files with names "PSScaleProtocol.java", PSScaleProtocolTest or PSScaleProtocolDaemon, all I get to see on three tabs is "PSScaleProtoc".

I am using "Kepler" on a mac and key-word grepping on /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 yield any results.

any pointers appreciated.

PS: I just found this on stackoverflow, doesnt help me though - Eclipse 3.8 - Prevent File Name Truncating in Editor Tabs

Upvotes: 8

Views: 2011

Answers (2)

user1803551
user1803551

Reputation: 13407

How can I change this so the full filename is displayed?

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

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

Upvotes: 0

jklsemicolon
jklsemicolon

Reputation: 36

Looks like you can change the CSS that renders the tab to be a more narrow font or to be a smaller size.

Source: How to change the font size of the Eclipse editor tab's title

Upvotes: 0

Related Questions