__init__.py editor title shows parent name relative to root
Brought to you by:
fabioz
* Use workspace in ~/apps/eclipse/<version>/workspace
* Create project moo
* Create package cow in src/
* Edit src/moo/cow/__init__.py
Editor tile is now "__init__ (home.yohell.apps.eclipse.<version>.workspace.moo.src.cow)" instead of the expected "__init__ (cow)". I'm on Ubuntu 10.10, using the latest cdt eclipse dist, with an added pydev (latest) plugin on top.
I also think the module path (cow) should always be shown, for the sake of consistency. Currently, it is shown when several __init__.py files have at some been opened simultaneously, including when all but one of them have been closed again. This is (mildly) confusing, and I would prefer to have consistent behavior and have it always shown.
Minor edit of previous comment:
I also think the module path (cow) should always be shown, for the sake of consistency. Currently, it is shown when several __init__.py files have at some point been opened simultaneously, including when all but one of them have
been closed again. This is (mildly) confusing and I would prefer consistent behavior, and have it always shown.
There was a bug in 2.0.0 related to that (already fixed)... can you try the latest nightly and see if it's working for you?
It does indeed work. Thank you for a speedy resolution!
There seems to have been a regression here. I'm on indigo cdt eclipse with pydev 2.3.2.201110061 on Ubuntu 11.04, and module tab labels are shown as
module (home.yohell.eclipse.myproj.src.mypackage)
when I would have expected to see
module (mypackage)