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_
27 Comments
+1
+1
+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.
my eyes burn like California's forests, please let us change the font size
+1
+1
+1 Font size and +1 for font while you're at it please
+1
+1
+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.
+1
+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
+1
use the workaround right now
+1
I need this so badly
+1
+1 pls fix this
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;}
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.
Does anyone know how to change the font size specifically of code ouput?
+1
+1
Another +1. This is frustrating.
@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)._
@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.fontSizesetting 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 defaulteditor.fontSizesetting in VS Code is 12px. What value to you use for this setting? Maybe it would be best if Codex adopted theeditor.fontSizesetting rather than exposing a new configuration knob?@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.fontSizesetting or using acodex.fontSizeas a primary and scale the others in the Codex extension up or down accordingly.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.fontSizeandchat.editor.fontSizesettings (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" />
The font size for Codex Diff is still too small for VSCode extension.