Display a module's name instead of `__init__.py` by default

Currently, PyCharm allows displaying the module's name next to the __init__.py file name when more than one __init__ file is open.
However, for a workspace with more than one __init__ file in it, even if the other __init__ files aren't open, you still can't know which module's __init__ file is open.
I'd like to allow users to have the following option in the Settings->Editor->Editor Tabs menu:

* Show directory in editor tabs for non-unique filenames **in the entire workspace**

That is, as opposed to simply considering only the open files, consider all files in the open workspace.

Please see a similar question on StackOverflow: https://stackoverflow.com/questions/28962733/how-to-have-intellij-idea-display-a-modules-name-instead-of-init-py

3

请先登录再写评论。