- great code navigation and indexing
- great git tooling
- not free
- sometimes slow project startup
- debugging is more difficult to set up than with VSCode in more complex docker-compose configurations
- open Pycharm settings and go to: Build,Execution,Deployment -> Console -> Python Console
- add the environment variable:
DJANGO_SETTINGS_MODULE=config.settings
(python module path to your settings.py) - paste the following code inside the "Starting script" section
from django_extensions.management.shells import import_objects
from django.core.management.color import color_style
globals().update(import_objects({"dont_load": [], "quiet_load": False}, color_style()))
# create new file in current directory
strg + alt + einfg
# navigate files
alt + home
# new line before current
strg + alt + enter
# navigate definitions
strg + B
alt + shift + ← /→
# extend selection
strg + w
strg + shift + w
# select same word
alt + j