Control over font size

Resolved 💬 27 comments Opened Sep 10, 2025 by jasonwei1002 Closed Dec 2, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

27 Comments

motonari728 · 10 months ago

+1

Kyvrel · 9 months ago

+1

daxhns · 9 months ago

+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.

DavidNovikov · 9 months ago

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

steveviuv · 9 months ago

+1

PeterKhoudary · 9 months ago

+1

JalalAlbasri · 9 months ago

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

FoxitFun · 9 months ago

+1

kim-fehl · 9 months ago

+1

BrionyMeng · 9 months ago

+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.

Jamesun921 · 9 months ago

+1

brunocavenaghi · 9 months ago

+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

projectkite · 9 months ago

+1

use the workaround right now

aloni636 · 9 months ago

+1

I need this so badly

KangOxford · 9 months ago

+1

BrunoNunes27 · 9 months ago

+1 pls fix this

gladjoyhub · 8 months ago
+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;}

Jamesun921 · 8 months ago

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.

imdadahad · 8 months ago

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

tarekzaki1 · 8 months ago

+1

tamura-fss · 8 months ago

+1

dataaxleandy · 7 months ago

Another +1. This is frustrating.

dataaxleandy · 7 months ago

@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)._

etraut-openai contributor · 7 months ago

@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?

dataaxleandy · 7 months ago

@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
etraut-openai contributor · 7 months ago

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.

<img width="378" height="627" alt="Image" src="https://github.com/user-attachments/assets/8bfd09a5-519c-44f3-a50c-1b999981e27d" />

<img width="375" height="776" alt="Image" src="https://github.com/user-attachments/assets/3c40f12d-f672-4467-95e2-7dffc6ca8646" />

ZenMoore · 3 months ago

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