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

can i use this in vscode ? how ? #4

Open
xgz123 opened this issue Oct 10, 2017 · 6 comments
Open

can i use this in vscode ? how ? #4

xgz123 opened this issue Oct 10, 2017 · 6 comments

Comments

@xgz123
Copy link

xgz123 commented Oct 10, 2017

please help

@klippx
Copy link
Owner

klippx commented Oct 10, 2017

Hi there,

Thanks for showing interest.

Unfortunately VSCode and Atom are extremely different platforms. Atom uses stylesheets, and VSCode uses json files. Not sure how it's working, but I think it uses some Javascript engine that parses this...

If I manage to convert this repo to VSCode I will let you know 👍

Best regards!

@klippx klippx closed this as completed Oct 10, 2017
@klippx
Copy link
Owner

klippx commented Oct 18, 2017

I have looked deeper at VSCode now, they support TextMate theme, and they allow to change font style and color using rules, but they do not support changing font name/font family using said rules.

It would of course be possible to open a pull request to Microsoft/vscode to allow for this, but as far as I could tell it didn't exactly look trivial and I do not know how well met it would be by PR reviewers.

But I did submit an issue to them to open discussions microsoft/vscode#36512

@klippx klippx reopened this Oct 18, 2017
@xgz123
Copy link
Author

xgz123 commented Oct 18, 2017

There is a fontFamily rule in VSCode setting. I don't know if this could be helpful.

@xgz123
Copy link
Author

xgz123 commented Oct 18, 2017

Now I am using this and it works great for me. thanks!

@klippx
Copy link
Owner

klippx commented Oct 19, 2017

Thanks for sharing the feedback and this nice theme. "fontFamily" rule in vscode is only used on a global basis for the "editor" configuration. What I am looking for is the ability to change this dynamically for special text mate rules.

The theme you are using there actually uses Operator Mono, which is possible to buy but very expensive. I am still pursuing the idea to create a free operator-mono-vscode version just like this repo.

@bluekurk
Copy link

bluekurk commented Sep 4, 2019

this works for me:
https://stackoverflow.com/questions/41320848/how-do-i-get-visual-studio-code-to-display-italic-fonts-in-formatted-code

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

No branches or pull requests

3 participants