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:
Subscribe to Blog updates
How to Connect Django With MongoDB
Learn how to use Django and MongoDB together to create a web application in PyCharm. Follow our step-by-step tutorial to connect MongoDB with Django.
New Low-Impact Monitoring API in Python 3.12
Python 3.12 adds the new low-impact monitoring API, enabling debuggers, profilers, and similar tools to run code at almost full speed.
Guest Post: Four Ways To Quickly Display OpenCV Images During Debugging
This is a guest blog post by Adrian Boguszewski, author of OpenCV Image Viewer Plugin. The average programmer makes 70 errors per 1,000 lines of code and spends 75% of their time on debugging (source). In computer vision (CV), this process may involve not only fixing the code but also checking th…