This document explains how pretty-ts-errors is structured and how the VS Code extension works at runtime.
!NOTE Keep in mind that this document is kept minimal to avoid being out of sync with development. If critical information is missing, feel free to open a discussion or PR.
The repository is a monorepo. The root of the project contains the different packages, and the various files and directories required to develop and maintain the project.
The VS Code extension source code.
Core formatting logic.
formatting functions used by the VS Code extension. This formatter implements features specific to VS Code.
Small utilities shared across packages.