September 15, 2020 at 3:13 pm #663532
I’m running Codemix in Eclipse doing Typescript work but the parens and square brackets are very light gray against a white background.
They’re almost invisible.
I’ve been looking through various settings to change the color but haven’t found the right, magical place.
Anyone know which settings control this?September 17, 2020 at 5:54 am #663765
I’m using the Light theme with default Color and Font theme in Eclipse 3030-06 (4.16.0)
Curly braces show up as black, as set by the ‘brackets’ color.
Both square brackets and parenthesis are very light gray and almost invisible.September 17, 2020 at 8:36 am #663782
That’s odd because that setting controls the colors of parenthesis and square brackets too. I specifically tested this in the Light theme on Windows and it worked as expected. Did you happen to make any other color customizations? A bit of a sanity check, are you sure the CodeMix editor is being used (right click file > Open With – TypeScript :: CodeMix should be selected).
Other ideas I have would be to try changing your theme to dark and then light again, to see if that “resets” these colors.
You could also installing and using the Darkest Dark theme.September 17, 2020 at 9:10 am #663786
It works properly in dark theme but then changing back to light or classic brings the problem back.
I’ve also noticed that the coloring of parenthesis is inconsistent. on function calls they’re light gray but in lambda syntax they’re dark.
Yes, the file is definitely open with CodeMix. I’ll dig through my installed plugins and see if there’s anything else TS related that could be screwing it up.September 17, 2020 at 9:12 am #663788
Here’s the list of my plugins. Should I have the ‘Typescript Pack::CodeMix’ or is that something old that’s now embedded in Codemix Essentials?September 17, 2020 at 9:43 am #663792
Quite sure you’ll have the CodeMix TypeScript tooling installed – but do confirm the editor using the technique I mentioned above, as you could still be using another editor even if our plugin is installed. Right click on the file in the Project Explorer to bring up the context menu and see what is selected under the Open With submenu. That should be
TypeScript :: CodeMix
1) If you prefer using a light theme, would using the Light theme installed with DevStyle be an option?
2) In case there are some bad workspace settings that are “stuck” – you could try to see if importing the project into a new workspace fixes the issue.September 17, 2020 at 9:55 am #663793
I found it although I’m not positive how to ‘properly’ fix it.
Apparently my .tsx files are opening with the ‘Typescript React’ editor and the colors are coming from “Other Languages” instead of from the TypeScript editor settings.
The shortcut is to change the “Other Languages” colors, but I think the right way is to get the files to open with the correct editor by default.September 17, 2020 at 11:16 am #663794
If you are using TSX though, I do believe TypeScript React is the right editor to be using. At our end we’ll look into whether this editor can take colors from the TypeScript node instead of Others. Thank you for the report!