Closed rababR1 closed 7 months ago
@rababR1
Eva Theme doesn't support Semantic Highlighting, nor support C_Cpp Enhanced Colorization. Whether there are display bugs is based on the following two settings.
1.9.3 version has fixed the display errors of
input
and some characters.
I write no Python code, so there are may still some errors and omissions in the coloring settings of Python code. Welcome to continue to raise issue.
Ok. Hope Python code will have beautiful semantic highlighting in the near future.
I'm glad the issue is fixed, but I'm so not sure about the color choice for int
:
Personally, I like it like this:
(This is when semantic highlighting is set to "true")
Code Snippet:
numInput = int(input("Enter the number of inputs: "))
@rababR1
int
has the same first scope value as float
, so it set to pink.
Can you teach me, in Python syntax, what does
int
mean here? Why does it look like it's executing a function? If its semantics are really like a function here, it should use the same blue color as function.
https://www.programiz.com/python-programming/methods/built-in/int
int()
is a method, according to Programiz. But for w3Schools, int()
is a function:
https://www.w3schools.com/python/ref_func_int.asp
@rababR1 I have set it blue in 1.9.5 version.
Okay...
I'm ok with it. In terms of the color
Also, I ported your theme to Replit. Is it A-OK without permission?
That's cool! It would be great if you could include a link to Eva Theme in the plugin description.
At the same time, you can send me a link after you finish it, and I will attach it here, like: Replit (by rababR1)
Actually, the theme's already finished
Screenshot
Code Snippet
Supplement
However, when I set this to "true": the input is colorized:
My settings for C_Cpp: Enhanced Colorization:
Edit: I also noticed in version 1.9.2, when you leave VSCode Insiders(v 1.75) on for a long time, with these settings (setting semantic highlighting to "true" and C_Cpp: Enhanced Colorization is enabled), the colors get worser:
Whereas in VSCode (v 1.74, not the Insiders build!), it displays fine....
I believe its an issue with my theme, or my Insiders build. Did a clean reinstall (because I had about 2500+ extensions), and nothing was fixed. In fact, I made several issues on the VSCode repository about some task error warnings showing up because I didn't install "cppbuild". I installed it using
npm install cppbuild
, and the error message did not show up.Code snippet 2:
Anyway, please help me fix this issue!
And this is urgent!
Thank you...