Skip to main content
100%

Font Scripting in VS Code

✓ Published0🌍 Public
Aadiamaan92
Last edited Aug 8, 2021
Created on Aug 8, 2021

This example demonstrates how to configure custom font scripting in Visual Studio Code using a JSON settings file. It shows two textMate rules that stylize code elements: the first resets font styles for specific scopes like `invalid` and `keyword.operator`, while the second applies italics to keywords, comments, and Python-specific tokens. The configuration relies on VS Code’s `editor.tokenColorCustomizations` API, referencing TextMate grammar scopes to control typography. It pairs `Victor Mono` with `Fira Code` and enables font ligatures for enhanced readability.

AI-generated description

Similar vizzes