I have set the same font size in both programs (12) and used the same font (Source Code Pro SemiBold), both on a 100% zoom level.
In VS IDE, the font is larger than in VS Code.
I've tried to change the zoom level in VS IDE (2022) to match the size in Code but that causes the squiggly lines to become extra-small and ugly
This is the issue: in VS Code, the font is smaller than in VS IDE
One is measured in px and the other in pt.
You can check what the same value for X pt is in px here: https://simplecss.eu/pxtoems.html
EXAMPLE: 9pt = 12px
VSCode: The font-size is measured in px.
Visual Studio: By default, the environment font is tied to a system font that appears as 9 pt Segoe UI.