2
Vote

Show django app name in tab title

description

When developing django websites, you'll have multiple modules with the same name (models.py, views.py, etc.) in different apps. To help tell them apart, it'd be nice to have the tab titles for each file include the app (package) name. For example, if I have two apps named "news" and "jobs" and have the models.py file open from each, the tab titles would read "news/models.py" and "jobs/models.py".

comments

Zooba wrote Mar 19 at 4:00 PM

We already have a feature like this for init files, so we could extend that to any duplicated filenames. In this case the tabs would read "models.py (news)" and "models.py (jobs)".

For something more immediate, you may want to look into the Productivity Power Tools and their feature to color-code tabs by regular expression.

mmclark wrote Mar 20 at 4:55 PM

That solution sounds fine - thanks! I'll take a look at the power tools.