Skip to content

Conversation

@JPSAUD501
Copy link

@JPSAUD501 JPSAUD501 commented Dec 23, 2025

Summary

  • Add the editor.lineNumbersFontSize option (0 uses the editor font size; otherwise a pixel value).
  • Propagate the value into layout so line number width scales with the chosen font size.
  • Render line numbers with the configured size in the view overlay.
  • Add coverage in editor layout tests.
  • Update Monaco typings/enums for the new option.

#244862

Testing

  • ./test.sh --grep "line numbers".
  • Manual: set "editor.lineNumbersFontSize": 10 | 13 | 16, then verify line number width and rendering.
image image

…)\n\n- Adds lineNumbersFontSize editor option (0-1000px)\n- When set to 0, uses editor's default font size\n- Implements font size scaling in line numbers rendering\n- Adds comprehensive test coverage\n\nCloses microsoft#244862
@JPSAUD501
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants