Search code examples
eclipsepydeveclipse-luna

Eclipse / PyDev - Remove path from editor tabs when two files with same name are opened


I'm currently using Elipse Luna, and I'm trying to figure out how to remove the path name from the editor tabs when multiple files with the same name but different directories are opened (see screenshot).

enter image description here

So, in other words, keep the file name, but remove the path name inside the parentheses.

I've done this in the past with previous versions of Eclipse, but I can't for the life of me remember how I did it. I just find that path names take up a lot of real estate in my editor and it doesn't take long before tabs are hidden away.


Solution

  • You're correct that this is a Pydev setting.

    Go to Preferences -> PyDev -> Editor caption/icon and change Django modules handling: to "Show as a regular module"