Skip to content

Tips and Tricks for Coders

This is a grab bag of advice on productivity tooling and set-up. Loosely structured, but please sign your contributions so that folks know whom to seek advice from.

  • Give Co-pilot a shot if you haven’t already. It tends to get better with time, and has saved me a ton of keystrokes so far, in particular for repetitive stuff. [François]

  • If you have environment variables you want to set per directory, you direnv is a useful tool. It can be used for activating your python virtual env when you cd into the momentum-calcs directory. More info here.

  • Pylance extension for VSCode is a bit buggy, but it is helpful in uncovering types issues before the pre-commit hook does. [François]