Make files stand out with colors

Have you ever created several websites in a single Django project? Then you might have opened more than one models.py, views.py, _init_.py files in the editor. How to tell one from another and understand which website they belong to?

PyCharm helps you make files with similar names stand out at a glance: press Ctrl+Alt+S to open the Settings dialog, and choose File Colors.

First, let’s break our application into smaller chunks – scopes. Click Manage Scopes button, and create a scope for each directory:

Next, associate each scope with its own color:

Now you will never get lost among the files of your application:

Enjoy!

This entry was posted in Cool Feature. Bookmark the permalink.

3 Responses to Make files stand out with colors

  1. calyx says:

    I’m always impressed by the level of innovation JetBrains put into their products.

  2. Sorin says:

    Where s the “add color label” option? I’m using the beta2 and I cannot find this option at all.

  3. mio says:

    Local colors – Add (or Shared colors – Add, if you want to have your settings shared amonth your team)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>