Skip to content

Control over font size #3412

Closed
Closed

Description

@jasonwei1002

What version of the VS Code extension are you using?

0.4.6

Which IDE are you using?

Cursor

What platform is your computer?

WSL2

What steps can reproduce the bug?

No code required

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    extension
    on Sep 10, 2025
  2. added
    enhancement
    on Sep 12, 2025
  3. motonari728 commented on Sep 18, 2025

    @motonari728

    +1

  4. Kyvrel commented on Sep 24, 2025

    @Kyvrel

    +1

  5. daxhns commented on Sep 24, 2025

    @daxhns

    +1
    The font is way too small in the chat panel Codex VSCode extenstion, it's almost unusable. Simple setting to increase the font size would fix it.

  6. DavidNovikov commented on Sep 25, 2025

    @DavidNovikov

    my eyes burn like California's forests, please let us change the font size

  7. steveviuv commented on Sep 26, 2025

    @steveviuv

    +1

  8. PeterKhoudary commented on Sep 26, 2025

    @PeterKhoudary

    +1

  9. JalalAlbasri commented on Sep 27, 2025

    @JalalAlbasri

    +1 Font size and +1 for font while you're at it please

  10. FoxitFun commented on Sep 30, 2025

    @FoxitFun

    +1

  11. kim-fehl commented on Sep 30, 2025

    @kim-fehl

    +1

  12. BrionyMeng commented on Oct 1, 2025

    @BrionyMeng

    +1
    I would also love to be able to be able to turn on/off night mode for the codex window seperately as well. My eyes feel more comfortable reading code in night mode but reading text with regular light background.

  13. Jamesun921 commented on Oct 8, 2025

    @Jamesun921

    +1

  14. brunocavenaghi commented on Oct 8, 2025

    @brunocavenaghi

    +1
    a workaround it's to change the direct css from codex plugin
    On a mac it's located in
    ~/.cursor/extensions/openai.chatgpt-[PLUGIN VERSION]-universal/webview/assets/XXX.css
    it's the only css file there. You need to change the class:
    .text-[13px] {
    font-size: 13px;
    }

    BUT everytime the plugin updates you'll need to do it again. It's annoying but works

  15. projectkite commented on Oct 10, 2025

    @projectkite

    +1

    use the workaround right now

  16. 1 remaining item

  17. KangOxford commented on Oct 15, 2025

    @KangOxford

    +1

  18. BrunoNunes27 commented on Oct 16, 2025

    @BrunoNunes27

    +1 pls fix this

  19. gladjoyhub commented on Nov 2, 2025

    @gladjoyhub

    +1 a workaround it's to change the direct css from codex plugin On a mac it's located in ~/.cursor/extensions/openai.chatgpt-[PLUGIN VERSION]-universal/webview/assets/XXX.css it's the only css file there. You need to change the class: .text-[13px] { font-size: 13px; }

    BUT everytime the plugin updates you'll need to do it again. It's annoying but works

    In 0.4.35, do this:
    .text-base{font-size:20px!important;font-family:'Courier New'!important;}
    .text-sm{font-size:18px!important;font-family:'Courier New'!important;}

  20. Jamesun921 commented on Nov 3, 2025

    @Jamesun921

    I have made a powershell script for Windows,which can modify the font size automatically。
    https://gist.github.com/Jamesun921/426268269c674c57af836d83a3dc3db3
    You can change the font in the script. And also,you can rewrite it to Linux/Macos script by AI with ease.

  21. imdadahad commented on Nov 7, 2025

    @imdadahad

    Does anyone know how to change the font size specifically of code ouput?

  22. tarekzaki1 commented on Nov 12, 2025

    @tarekzaki1

    +1

  23. changed the title [-]Hope to adjust the font size of codex ide[/-] [+]Control over font size[/+] on Nov 12, 2025
  24. tamura-fss commented on Nov 21, 2025

    @tamura-fss

    +1

  25. dataaxleandy commented on Nov 26, 2025

    @dataaxleandy

    Another +1. This is frustrating.

  26. dataaxleandy commented on Nov 26, 2025

    @dataaxleandy

    @etraut-openai Thanks for the quick triage. My earlier PR #7330 was closed because the config.toml approach isn’t aligned with how the VS Code extension handles settings. I’d like to propose a VS Code setting instead—something like codex.fontSize in settings.json—that the extension would honor for the Codex window. If that direction sounds acceptable, I’m happy to update my implementation to follow the extension settings flow and open a new PR. Please let me know if you’d be willing to review a PR for that approach.

    In my opinion this is somewhat of a must have, especially on Retina screens. I find myself constantly leaning in and squinting to read it on my iMac (I've had LASIK and can see).

  27. etraut-openai commented on Nov 27, 2025

    @etraut-openai
    Contributor

    @dataaxleandy, thanks for the suggestion. The Codex VS Code extension isn't open source, so you wouldn't be able to submit a PR for that feature.

    We have been steadily working through our feature backlog. Prioritization is informed by community feedback. This feature has received about 40 upvotes, which means that it's pretty popular, but there are still about 20 features ahead of it in the backlog.

    You mentioned that you're using a retina screen. Have you tried adjusting the system Text Size in the MacOS System Settings?

    Let's do some brainstorming here about the design of this feature. It's not clear to me that a single codex.fontSize setting is sufficient. We currently use multiple different font sizes and line heights in the codex extension UI. Some of the text is rendered at 13px with 20px line height. Some uses 12px with 19.5px line height. Is it mainly the 12px text that is problematic, or is the 13px text also difficult to read? Incidentally, the default editor.fontSize setting in VS Code is 12px. What value to you use for this setting? Maybe it would be best if Codex adopted the editor.fontSize setting rather than exposing a new configuration knob?

  28. dataaxleandy commented on Nov 27, 2025

    @dataaxleandy

    @etraut-openai, my user settings for font size are below. I've had them this size for probably as long as I've used VS Code, which seems like a very long time now. Regarding you saying "We currently use multiple different font sizes and line heights in the codex extension UI.", that'd honestly bring up another pain point with this now that I think about it. Finding my font sizes. It's too many. I recall having to initially find and change all of them. Probably more of a VS Code as a whole issue, but if it persists downward to the Codex UI where there's again be multiple font size settings it all just seems redundant. I like the idea of making it respect the chat/editor.fontSize setting or using a codex.fontSize as a primary and scale the others in the Codex extension up or down accordingly.

    "editor.fontSize": 18,
    "debug.console.fontSize": 16,
    "markdown.preview.fontSize": 16,
    "terminal.integrated.fontSize": 18,
    "chat.fontSize": 16
    
  29. etraut-openai commented on Dec 2, 2025

    @etraut-openai
    Contributor

    I've implemented this feature, and it will be included in the next release of the codex extension.

    I opted to use the existing chat.fontSize and chat.editor.fontSize settings (which default to 13px and 12px, respectively) rather than defining new codex-specific settings for font sizes.

    Here are screen shots showing the default font size settings on the left and larger font size settings ( "chat.editor.fontSize": 14, "chat.fontSize": 16) on the right.

    Image Image
  30. ZenMoore commented on Apr 20, 2026

    @ZenMoore

    The font size for Codex Diff is still too small for VSCode extension.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions