Tag: vscode

  • Organize Python Imports on save in VS Code

    The “PEP 8 – Style Guide for Python Code” defines the following order for Python imports: Taking care of that manually is just tedious work! This is something the editor or IDE should take care of instead. VS Code has a feature called Organize Imports to do exactly that, but unfortunately by default we have…

  • Typing en and em Dashes in VS Code

    In written text there are (at least) three different types of dashes: the hypen -, the en dash – and the em dash —. They almost look the same and often the hyphen is wrongly used instead of the en or em dash because it is the easiest to type with the – key on…