Quant is a VS Code extension that provides helpful numeric value conversions directly in your editor tooltips. Designed for web developers, it helps you quickly see equivalent units without leaving your code.
Features
Hover Conversions: Hover over a numeric value with units like px, rem, or em to see its equivalent in other units.
Configurable Base: Set your custom base font size (default is 16px) for accurate rem/em to px conversions.
Supports Multiple Languages: Works in CSS, SCSS, SASS, LESS, and Stylus files.
Usage
Simply hover over a numeric value in any supported style file:
Hovering over 16px will show 1rem.
Hovering over 1rem will show 16px.
Configuration
You can customize the base font size used for conversions in your VS Code settings: