You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. So I'm currently using this theme, and out of all the themes I like, there is always a little thing bothering me. The thing is when using pandas/numpy there are some functions/methods/things? that don't go super-along with the idea of Python colorization in themes. The most obvious example is .iloc and .loc indexers. So I'm using some scopes that does not defined in most of the themes, and I want this magnificent theme to have these additions as well. Maybe as an another option like italic, maybe not.
So I have these colorization ideas, and it's best to show them via screenshots. Here it is. Proposed ones are in red color.
Before:
After
There are lots of changes but it's, of course, open to discussion which ones may be suitable to be added to the theme.
Here's the customizations soup... I'll add names and descriptions to each if any or some of them seems suitable. I'm aware there are so many colors that it'll become confusing. So .loc, .iloc and : in loc and iloc indexes shoud be enough as well, maybe? I don't know, so there is the issue. Can I tag the issue? I don't know yet, so we'll see. (It seems I can't tag the issue.)
So just to get this right, you'd prefer if the italicised items were also to be of a different colour? if so it might be enough with assigning a different foreground to source.python meta.member.access.python I might need to do some testing.
Out of curiosity have you found any themes that do this well? I am assuming maybe not from your comment above:
and out of all the themes I like, there is always a little thing bothering me
Also, for constants like True, False, None I agree these should be changed to improve legibility. @gokturksm would you like to work on this together? Might make the scientific computing experience better and I appreciate the feedback
Thanks for the reply. Yes, I'd prefer italicized items with different colors. It would be easy to just alter source.python meta.member.access.python, however, that'd be not scientific computing specific. While using pandas for example, .iloc should be distinguishable in my opinion. I did implement what I tried to do in a theme called Nebula where I created a new theme in the marketplace. It is not the best solution in my opinion. There is no need for blabla Pandas for all the themes. So it might be an option for this theme, like italic. Maybe it'd become mainstream later on, I have no idea; though I'd like to work on this together for sure. Glad you're interested @trallard.
Hello. So I'm currently using this theme, and out of all the themes I like, there is always a little thing bothering me. The thing is when using pandas/numpy there are some functions/methods/things? that don't go super-along with the idea of Python colorization in themes. The most obvious example is
.iloc
and.loc
indexers. So I'm using some scopes that does not defined in most of the themes, and I want this magnificent theme to have these additions as well. Maybe as an another option like italic, maybe not.So I have these colorization ideas, and it's best to show them via screenshots. Here it is. Proposed ones are in red color.
Before:
After
There are lots of changes but it's, of course, open to discussion which ones may be suitable to be added to the theme.
Here's the customizations soup... I'll add names and descriptions to each if any or some of them seems suitable. I'm aware there are so many colors that it'll become confusing. So
.loc
,.iloc
and:
in loc and iloc indexes shoud be enough as well, maybe? I don't know, so there is the issue. Can I tag the issue? I don't know yet, so we'll see. (It seems I can't tag the issue.)Sincerely.
The text was updated successfully, but these errors were encountered: