pran-jal / Night-Owl-Theme-VS-Code

Night Owl Theme for vs code
https://marketplace.visualstudio.com/items?itemName=AncientLord.nightowl-theme
2 stars 2 forks source link

Python - Improvement to create a difference between "=" and "==" #1

Closed AyslanBatista closed 1 year ago

AyslanBatista commented 1 year ago

I would like to comment that the color combination of this extension is perfect. I have been using it for about 2 years, and so far everything has pleased me 100%.

But for my part, I would like to suggest an improvement. I saw something in another extension that I found very interesting, and I would like to know if it is possible to implement it. I don't know if it would be something simple.

When programming in Python, it is interesting to have something visual that shows the difference between "=" and "==". In this other extension, I was noticing that when using "==", the two unify and change color, creating a beautiful visual difference, and I'll leave an image suggestion that I saw in the other extension.

Screenshot_1

AyslanBatista commented 1 year ago

Sorry for the open issue.

After looking closely at the image here from the Python example repository, I noticed that there was "==" together, and so I decided to try and figure out why this wasn't working for me and verified that the problem was due to "font" and also in vscode settings. I'll leave the solution below:

The repository I got is the source: https://github.com/tonsky/FiraCode

vscode settings: { "editor.codeLensFontSize": 12, "editor.fontFamily": "'Fira Code', 'Courier New', monospace", "editor.fontLigatures": true, "editor.semanticHighlighting.enabled": false, }