Menu

#1313 __init__.py editor title shows parent name relative to root

open
Editor (491)
5
2011-04-21
2011-04-14
YoHell
No

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

Discussion

  • YoHell

    YoHell - 2011-04-15

    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.

     
  • YoHell

    YoHell - 2011-04-15

    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.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-19

    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?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-19
    • status: open --> pending
     
  • YoHell

    YoHell - 2011-04-21
    • status: pending --> open
     
  • YoHell

    YoHell - 2011-04-21

    It does indeed work. Thank you for a speedy resolution!

     
  • YoHell

    YoHell - 2011-10-13

    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)