microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
295 stars 28 forks source link

Font sizes in rendered code #949

Open win21H2 opened 4 months ago

win21H2 commented 4 months ago

Hello all, I've had this small 'grudge' for a while but when I open copilot in the sidebar, the font size of the code rendered is almost always larger than the code in my actual programming window. This can be annoying especially when having to scroll sideways to see what code is produced (the example below shows what I'm talking about better).

Would it be possible to 'separate' the font sizes e.g. when I scroll out in vscode to decrease the font size of the editor, the font size in code rendered by copilot remains the same?

image

image

Best regards, 9662e103-129a

roblourens commented 4 months ago

You can control this by chat.editor.fontSize and set it to match the editor, does that help?

win21H2 commented 4 months ago

Hello @roblourens, I added this to my settings.json file:

"github.copilot.advanced": {
        "chat.editor.fontSize": 14,
    }

but that doesnt seem to fix anything.

If I do it by itself like the below, it still doesnt change anything

"chat.editor.fontSize": 14,

Best regards, 9662e103-129a

roblourens commented 4 months ago

It should be at the top level, the second way

Image