Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mix & Match? 😢 #30

Open
raskyld opened this issue Nov 10, 2023 · 11 comments
Open

Mix & Match? 😢 #30

raskyld opened this issue Nov 10, 2023 · 11 comments

Comments

@raskyld
Copy link

raskyld commented Nov 10, 2023

Hello!

This is somehow related to #6 but I would like to ask for a more generic one, I know some monospaced fonts are capable of mixing standard monospaced and handwritten style when the text is in comment block (probably they just change the italic variant?).

Could be build monaspace to allow that?
In my specific case, I would like to Argon for my code and Radon for my comments 🙏

Thanks for your awesome work ❤️

@goldenraphti
Copy link

I'm also looking for this. In the way "Operator Mono" or "Victor Mono" does it

anyway, awesome work, awesome project ❤️ ⭐ thanks to anyone involved in this 👏

@Aloso
Copy link

Aloso commented Nov 10, 2023

This is not possible to implement in the font, it needs to be implemented in VS Code (or whatever editor you're using).

VS Code already allows making certain scopes italic or bold, only the font family isn't configurable yet.

@urzhumskov
Copy link

urzhumskov commented Nov 10, 2023

in VSCode, this is doable if you install the APC extension and provide a custom stylesheet.

E. g., to use Radon for comments:

.mtk5 {
  font-family: "Monaspace Radon Var";
}

(look up specific classes using dev tools)

@kcoderhtml
Copy link

Has anyone found the class for copilot suggestions? Whenever I click on the eyedropper to find it, the suggestion goes away.

@fspoettel
Copy link

fspoettel commented Nov 10, 2023

@kcoderhtml the class for an Copilot inline suggestion is class="mtk1 ghost-text-decoration" for me.

You can inspect transient DOM elements by e.g. halting the app with a debugger after a delay with a console statement like:

setTimeout(() => { debugger; }, 10000);

@ketozhang
Copy link
Contributor

(probably they just change the italic variant?)

I've seen this done before. IIRC it was Cascadia Code who had a cursive font for their italics.

@mashaal
Copy link

mashaal commented Nov 10, 2023

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

@WindSoilder
Copy link

Just curious, can I enable such feature in neovim?

@fpigeonjr
Copy link

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

🤩 thank you. This worked for me.

@x-tropy
Copy link

x-tropy commented Nov 14, 2023

Helpful thread... My current settings for MacOS APC extension. Radon comments and Thin Krypton Copilot

"apc.stylesheet": {
    ".mtk3": "font-family: 'Monaspace Radon Var'; font-weight: 500;",
    ".ghost-text-decoration, .ghost-text-decoration-preview": "font-family: 'Monaspace Krypton Var'; font-weight: 200;"
}

Thanks! BTW 'var' is not needed for macOS users. Just use font-family: 'monaspace krypton'

@poa00
Copy link

poa00 commented Apr 7, 2024

Has anyone found the class for copilot suggestions? Whenever I click on the eyedropper to find it, the suggestion goes away.

@kcoderhtml OOB, you can control the font for code blocks the AI suggests in chat with the following settings:

chat.editor.fontFamily
chat.editor.fontSize
chat.editor.fontWeight
chat.editor.lineHeight

I assume typing chat will give you additional syntax for further customization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests