razetime/bqn-vscode

Scaler characters show as blue

Closed this issue · 11 comments

Scalar characters like 'a' and 'b' show as blue. it'd make more sense for them to be orange like "a" and "b".

This is purely based on theme. A universal color scheme for every theme is not possible in vscode, and there is no exact mapping for bqn either.

That's confusing because it has worked about a week ago.

it might have been an error, since many color classes were incorrectly specified and highlighting regexes had many holes in them. If this does become a bigger problem I will consider changing the classes.

alright

I feel like i should clarify my question. You said the color is dependent on theme, but what my issue is, is that strings and scalar characters don't have the same color. Scalar characters have the same color as functions/Uppercase names.

post a picture and copy paste the text, please.

image

Abc
'abc'
'a'
"abc"
"a"

yeah, it's a theme-centric problem.
image
image

(also, there are two different color scopes for strings and scalar characters in every theme. It is expected that they are in different colors.)

why not have scalars be the same color as strings?

let's take this discussion to chat, it will be faster that way.

I assume you mean the BQN chat in APL farm