Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[themes] Dark theme in 0.10.5 less colorful than in 0.10.3 #1470

Closed
gpbl opened this issue Dec 19, 2015 · 24 comments
Closed

[themes] Dark theme in 0.10.5 less colorful than in 0.10.3 #1470

gpbl opened this issue Dec 19, 2015 · 24 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority themes Color theme issues verified Verification succeeded
Milestone

Comments

@gpbl
Copy link

gpbl commented Dec 19, 2015

I've upgraded from 0.10.3 to 0.10.5, and the javascript syntax highlighting doesn't work as well as before (OSX El Capitan):

from this:
screen shot 2015-12-19 at 10 36 26

to this:
screen shot 2015-12-19 at 10 38 59

I also removed any extension I've installed, but it didn't fix it...

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Dec 19, 2015
@bpasero bpasero added this to the Backlog milestone Dec 19, 2015
@lcrespom
Copy link

I am using Monokai, where function parameters are displayed in orange, but with this update the parameters are displayed in gray although the Monokai.tmTheme clearly states that parameters should be orange (#FD971F).

This may seem like nitpicking, but good syntax highlighting is my top criterion for selecting one or other code editor.

@bgse
Copy link
Contributor

bgse commented Dec 19, 2015

Same issue exists on Linux version.

@bpasero I tend to agree with @lcrespom here, this is a fairly major thing that might even make parts of the user base skip 0.10.5 and as such I'd like to vote for raising the priority on this one.

@bgse
Copy link
Contributor

bgse commented Dec 19, 2015

vscode_jshighlighting_0105

More on this, look at how missing space in for-loop breaks even more of following highlighting in 0.10.5, below the same in 0.10.3 which is perfect:

vscode_jshighlighting_0103

Additional observation, breaks for less-than sign, but not for greater-than sign in 0.10.5:

vscode_jshighlighting2_0105

Edit: Looks like the for-loop issue might be this one: microsoft/TypeScript-TmLanguage#17

@adnan333bd
Copy link

image

Facing same issue with typescript.
Access modifier 'private' in the constructor, class names and interface names are not colored as expected ...

@bpasero bpasero added the important Issue identified as high-priority label Dec 19, 2015
@MacKentoch
Copy link

So now I feel less alone with syntax highlighting issues.

Got same issues with javascript ES6.
As examples

  • import (was red before) is now just grey
  • constructor is now grey

Occurs in OSX El capitan and windows 10.

Jsx seems not that much impacted (but still improvements to be done).

To conclude, thank you for all that work already done in VSCode 👍

@irakliy81
Copy link

+1 with TypeScript on Windows 10 - some keywords such as typeof and instanceof are not highlighted at all

@egamma egamma changed the title Bad Javascript syntax highlighting in 0.10.5 Dark theme in 0.10.5 less colorful than in 0.10.3 Dec 20, 2015
@egamma
Copy link
Member

egamma commented Dec 20, 2015

Apologies for all the inconveniences. There are several different issues in this issue that we need to untangle.

First some background...

  • Between 0.9.0 and 0.10.3 we switched to textmate grammars for most languages.
  • In 0.10.5 we have switched to another grammar for JS coloring. This was done to support ES6 syntax in JS. We are now using the same grammar that is used for TypeScript for JS and we are working with the TypeScript team to address JS grammar issues.

Unfortunately, these changes have impacted the default Dark and Light theme. As described in the test plan our goal was to get back as close as possible to what we had in 0.9.0. The reasoning was that there are many more other colorful themes provided (e.g. monokai) if users want more color for JS.

Now to the different issues:

@gpbl in 0.9.0 the Dark theme was less colorful and it matched the Dark theme of Visual Studio. We went back to this one. Obviously you got used to the coloring we had in 0.10.3 and we were not sensitive enough here when we made the decision to go back to the colors of 0.9.0. My suggestion is to provide a Dark* theme as an extension that is aligned with what 0.10.3 provided as soon as possible. We can then decide to switch the default Dark theme. Let's keep this issue open to track this problem. I've adjusted the title. Can you try to use another dark theme in the mean time?

@lcrespom this looks like a bug in how we render this token type the Monokai theme. I've extracted this bug into issue #1504

More on this, look at how missing space in for-loop breaks even more of following highlighting in 0.10.5

@bgse This is issue microsoft/TypeScript-TmLanguage#17 as you figured above.

@adnan333bd the reduced colors in the Dark theme also show up in TypeScript.

@MacKentoch this looks like a bug in the TypeScript grammar. Extracted into microsoft/TypeScript-TmLanguage#32. Can you please add a snippet to reproduce the problem.

@irakliy81 this looks like an issue in the TypeScript grammar. Can you please report in Microsoft/TypeScript-TmLanguage with a snippet illustrating the issue.

@adnan333bd
Copy link

thanks @egamma , I rather use Solarized Light. Thanks, you guys are doing great!

@rakkarage
Copy link

Ya, miss the more colorful version.

@rickmed
Copy link

rickmed commented Dec 20, 2015

+1

@gpbl
Copy link
Author

gpbl commented Dec 20, 2015

Thanks @egamma for the clarification! I wasn't aware about that test plan 😄.
The Dark and Light default themes were very nice in 0.10.3, I'm already missing them.

@egamma egamma changed the title Dark theme in 0.10.5 less colorful than in 0.10.3 Dark and Light theme in 0.10.5 less colorful than in 0.10.3 Dec 20, 2015
@Wosi
Copy link

Wosi commented Dec 21, 2015

I face similar issues using the default dark theme with the OmniPascal plugin. Method names (entity.name.function) used to be yellow and operators (keyword.operator) used to be gray. Now it's all white. The default theme of the previous version looked better.

@rickmed
Copy link

rickmed commented Dec 21, 2015

I've seen that many (maybe all) of the themes are not rendering the same as before the update. EG: not rendering the function parameters, or not rendering the object method keys. I've tried with a few (EG: tomorrow night eighties).

@egamma
Copy link
Member

egamma commented Dec 21, 2015

@Wosi how does it look with OmniPascal when you use a more colorful theme, e.g, Monokai?

@Wosi
Copy link

Wosi commented Dec 21, 2015

@egamma In Monokai function names are displayed in green. But type names aren't colored using that theme. I couldn't find a theme that colors function names and type names.

@bgse
Copy link
Contributor

bgse commented Dec 21, 2015

Maybe the themes should come in two variants per theme, one variant offering a relatively flat coloring, and a more colorful variant, but both using the same base color scheme.

While extensions can do this, I'd argue the themes delivered with the base product should not force the user to decide between flat and rich coloring while they decide which color scheme works best for them, as those are (in my personal opinion) two decisions that are not necessarily linked.

@ddotlic
Copy link
Contributor

ddotlic commented Dec 22, 2015

Maybe the themes should come in two variants per theme, one variant offering a relatively flat coloring, and a more colorful variant, but both using the same base color scheme.

If possible, this please.

Typescript colorization was great in 0.10.4, it's now again blend and dull in 0.10.5.

From @egamma comments I understand that this is intentional?

I'll use Monokai in the meantime (which I generally like), but please do consider having default themes as colorful as they were prior to 0.10.5, IMHO they strike great balance between "too much" and "too little" colors.

Thanks for this wonderful editor!

@lcrespom
Copy link

Sorry for nagging, but could you give an approximate fix date for this bug?

@egamma egamma modified the milestones: Jan 2016, Backlog Jan 4, 2016
@egamma
Copy link
Member

egamma commented Jan 4, 2016

The intent is to make separate Light/Dark* theme extensions as described in this comment available first week of January.

@lcrespom
Copy link

lcrespom commented Jan 4, 2016

Thank you very much :-).

Will that fix propagate to fix #1504 also?

aeschli added a commit that referenced this issue Jan 6, 2016
@egamma egamma changed the title Dark and Light theme in 0.10.5 less colorful than in 0.10.3 Dark theme in 0.10.5 less colorful than in 0.10.3 Jan 6, 2016
@egamma egamma mentioned this issue Jan 6, 2016
59 tasks
aeschli added a commit that referenced this issue Jan 6, 2016
@egamma
Copy link
Member

egamma commented Jan 7, 2016

The new more colorful default themes are now available as an extension.
Please see issue #1849 for background and for how to install them.

@aeschli aeschli changed the title Dark theme in 0.10.5 less colorful than in 0.10.3 [themes] Dark theme in 0.10.5 less colorful than in 0.10.3 Jan 13, 2016
@aeschli aeschli added the themes Color theme issues label Jan 13, 2016
@aeschli
Copy link
Contributor

aeschli commented Jan 27, 2016

Closing as fixed. The colorful default themes will be part of VSCode in the January build. It is no longer needed to install these themes as extensions from the marketplace. In fact, everybody who has installed them can uninstall the extensions to avoid duplicated entries in the theme selection dialog.

@aeschli aeschli closed this as completed Jan 27, 2016
@ddotlic
Copy link
Contributor

ddotlic commented Jan 27, 2016

Any timeframe on availability of VSCode January build? I see nothing even on insiders channel. Thanks!

@aeschli aeschli assigned egamma and unassigned aeschli Jan 28, 2016
@egamma egamma added the verified Verification succeeded label Jan 29, 2016
@egamma
Copy link
Member

egamma commented Jan 30, 2016

We will make the Jan update available early next week.

@egamma egamma mentioned this issue Feb 1, 2016
97 tasks
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority themes Color theme issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests