EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
208 stars 44 forks source link

🎨 Diffrent `Syntax Highlighting` for each language... Is that possible? #42

Closed rediffusion closed 4 years ago

rediffusion commented 4 years ago

@EvgeniyPeshkov

✌️ Привет! 🔌 Интереснре расширение.

As an example, I'll take the IDE called «NotePad++». See screenshots below:

image

Now I put here some code, then I switch to other languages...

C

image

JavaScript

image

AutoHotkey

image

C++

image

CSS

image

HTML

image

Different syntax, color, style, font, weight, brackets... etc. But in your cool extension I see the same shit with all languages. Please help! 🙏


P.S. ··· read carefully this manual. Is this link valid? It's directing me to GitHub's home page. "Build:". Please provide the relevant link!

  1. Clone or download extension from GitHub.

Спасибо уважаемый! 🍻👍

EvgeniyPeshkov commented 4 years ago

Hello @rediffusion .

Thank you for noticing that build instructions are outdated. I've updated them. Please check out the latest version.

So you want extension to provide different highlighting (colors) depending on language. In simpler words: different languages - different colors. Right?

rediffusion commented 4 years ago

@EvgeniyPeshkov

God damn, YES!

EvgeniyPeshkov commented 4 years ago

Actually, the main purpose is quite opposite - consistent syntax highlighting across all languages. So you are not confused when switching between them. E.g. types are colored the same way whereever you go.