operator-mono-atom icon indicating copy to clipboard operation
operator-mono-atom copied to clipboard

can i use this in vscode ? how ?

Open xgz123 opened this issue 7 years ago • 6 comments

please help

xgz123 avatar Oct 10 '17 06:10 xgz123

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 :+1:

Best regards!

klippx avatar Oct 10 '17 17:10 klippx

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 https://github.com/Microsoft/vscode/issues/36512

klippx avatar Oct 18 '17 19:10 klippx

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

xgz123 avatar Oct 18 '17 22:10 xgz123

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

xgz123 avatar Oct 18 '17 22:10 xgz123

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.

klippx avatar Oct 19 '17 12:10 klippx

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

bluekurk avatar Sep 04 '19 06:09 bluekurk