Open GenericProgrammer1234 opened 11 months ago
I have already made a VS Code extension for Bella that enables syntax highlighting.
https://github.com/MystPi/bella-lang-vscode https://marketplace.visualstudio.com/items?itemName=mystpi.bella-lang
Okay I'll check it out.
In the screenshot, why is and and or not highlighted?
It depends on the color scheme, but and
and or
are part of the keyword.operator
scope as recommended by TextMate. The default VS Code color scheme does not highlight them any differently from symbol operators.
So you are using a different color scheme?
No, I am using the default color scheme (Dark Modern).
So that must mean the default VS Code colour scheme does not highlight symbol operators?
It just doesn't highlight them any differently from normal operators since they are part of the same TextMate scope. I found this a bit strange at first as well, but it is what TextMate recommends in their documentation.
It is weird that normal operators aren't highlighted then, any reason for this?
It really just depends on the color scheme to highlight them. Some themes (like GitHub dark) highlight operators a different color.
It is hurting to my eyes to look at Bella code without syntax highlighting, now I myself am a programming language hobbyist but the languages I create are easy to look at unlike Bella. I have some experience with Sublime Text syntaxes.
We should at least support these:
Since learning three (or four) different formats takes time, this is a long term thing and I plan for this issue to act as a progress update so it is easy to find what the progress on syntax highlighting has been.