Tech

Number of articles: 40.

Visual Studio Code (VSCode) adds language-specific features to files based on the file extension and provides sensible defaults. But what if your project uses different language modes per extension, depending on the framework used? Enter folder-based file associations.
Makefiles are convenient for semi-automating project tasks. We often use these files for running, building, and deploying projects. However, they often come without documentation. This article explains how to print Makefile targets to the command line with help texts.
Tabs versus spaces; two spaces versus four; Windows versus Unix line endings: code editor settings differ per device and developer, which can be a hassle working in a team. There is an easy way to share base settings, and it's called EditorConfig.
Years ago, I built a bookmarklet to help me check heading structures on websites. This article links to the code on CodePen.
If-statement reversal is a technique that revolves around breaking from a function, loop, or script early by avoiding unnecessary code nesting.